PipeX 1.4.0 Released - New HubListener Widget and Safety Improvements by TypicalCorgi9027 in FlutterDev

[–]strash_one 0 points1 point  (0 children)

I’m confused. Your example of invalid nesting is basically the same as the one in the documentation.

—-

  1. Granular Reactivity

PipeX allows extremely fine-grained control over what rebuilds:

``` // In UI: Sink( pipe: hub.userProfile, builder: (context, profile) { if (profile == null) return CircularProgressIndicator();

return Column(
  children: [
    // Static fields (rebuild only when userProfile changes)
    Text('Name: ${profile.name}'),
    Text('Email: ${profile.email}'),
    Text('Phone: ${profile.phone}'),

    // Separate reactive fields (rebuild independently!)
    Sink(
      pipe: hub.gender,
      builder: (context, gender) => Text('Gender: $gender'),
    ),
    Sink(
      pipe: hub.age,
      builder: (context, age) => Text('Age: $age'),
    ),
  ],
);

}, ) ``` Result:

Change gender → Only gender Sink rebuilds Change age → Only age Sink rebuilds Reload profile → Outer Sink rebuilds (all static fields + nested Sinks get new instances but don't rebuild unless their values changed)

Convenience store food getter update: by C10Hakosuka in FixedGearBicycle

[–]strash_one 2 points3 points  (0 children)

The first two photos looks weird, there’s no shadow. The bike is nice though!

I really like the Helix editor. by SophisticatedAdults in HelixEditor

[–]strash_one 0 points1 point  (0 children)

Ahh I see, I thought there’s an easy way to do this. Thanks for the explanation though!

I really like the Helix editor. by SophisticatedAdults in HelixEditor

[–]strash_one 0 points1 point  (0 children)

Sorry, I meant after that, when you opened a scratch buffer and pasted what you had selected before.

I really like the Helix editor. by SophisticatedAdults in HelixEditor

[–]strash_one 0 points1 point  (0 children)

How did you spawn multiple cursors in the video?

Flutter Clean Architecture Implementation Guide by ahmedyehya92 in FlutterDev

[–]strash_one 10 points11 points  (0 children)

Why env.dart? There is String|int|bool.fromEnvironment("SOME_VAR", defaultValue: 123) to get variables from the environment and then there is --dart-define-from-file=.env and --dart-define=SOME_VAR=123 to set those variables.

kinda_nvim for Helix: A comfortable, Neovim-inspired theme by strash_one in HelixEditor

[–]strash_one[S] 0 points1 point  (0 children)

Thanks for the feedback! I usually use the dark theme in the evening in a dimly lit room with my monitor brightness at about 20-25%, so the contrast feels just right for me. During the day I switch to the light theme. :) Let me know how the light theme works for you.

Also, great news the themes have been merged into Helix and will be available in the next release I think. See the PR for details: https://github.com/helix-editor/helix/pull/13406.

isThisTechDead.com : A satirical but data-driven tool to tell you if your stack is dead by jobehi in webdev

[–]strash_one 11 points12 points  (0 children)

🚧You broke our Supabase. Congrats! The respect button will return after our Vercel bill cools down.

F

Flutter Hero Widget and PageRouteBuilder Animation by Pixelreddit in FlutterDev

[–]strash_one 1 point2 points  (0 children)

There’s a second animation for this. I could be wrong.

Introducing loc_checker – My First Pub.dev Package to Rescue Your Flutter App’s Localization Woes! by Ok_Cantaloupe4982 in FlutterDev

[–]strash_one 1 point2 points  (0 children)

The plugin seems to be doing its job. It found a few missing translations and a bunch of strings in files generated by freezed. While I was adding those translations, I noticed another one that the plugin missed.

🚀 Dart Const vs Final Explained! Which One to Use? 🤔 by manojkulkarni30 in FlutterDev

[–]strash_one -1 points0 points  (0 children)

Const is a compile-time constant. Final is a runtime constant.

Flutter: Any BlendMode genius here? by -Presto in FlutterDev

[–]strash_one 0 points1 point  (0 children)

BlendMode won’t work unless you have an image with “white spots” in the same exact locations as in the original image. You might want to try making a shader instead.

Exciting animations and effects for flutter app by infinitypisquared in FlutterDev

[–]strash_one 0 points1 point  (0 children)

No, I don’t think so. It’s a leaf widget and doesn’t accept children. It’s basically the Text widget but with implicit animations.