u/strash_one

2,214 post karma · 533 comment karma · joined May 2019 · moderator

strash_one

{#each items as item}

strash_one

When you drag and drop a file in the file tree from one directory to another, Zed doesn’t update the import paths, Helix does with :mv.

strash_one

One class per file, except for stateful widgets and sealed classes.

strash_one

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)

strash_one

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

strash_one

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

strash_one

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

strash_one

How did you spawn multiple cursors in the video?

strash_one

Hey, I’m glad you love it!

strash_one

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.

strash_one

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.

strash_one

Thank you!

strash_one

Hey, thanks!

strash_one

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

F

strash_one

Thanks! It’s Maple Mono.

strash_one

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

strash_one

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.

strash_one

That’s exactly what I was looking for. I will check it out.

strash_one

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

strash_one

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.

strash_one

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.

strash_one

Check this plugin to animate any text https://pub.dev/packages/flutter_numeric_text.

strash_one

I’ve created a plugin that can animate any text.

Check it out here: https://pub.dev/packages/flutter_numeric_text.

strash_one

I’ll look into this, thanks.

strash_one

Thanks!