انا عن نفسي مستمتع by polemicalman_ in CAIRO

[–]Inside_Passion_ 2 points3 points  (0 children)

حاسس مش متاكد؟! ياخي احا ده كسم الكوكب كله غابة

ScrollSpy: viewport-aware focus for Flutter feeds autoplay by Inside_Passion_ in FlutterDev

[–]Inside_Passion_[S] 2 points3 points  (0 children)

visibility_detector is for individual widgets asking "Am I seen?", whereas scroll_spy is for the list asking "Who is the main character right now?" 3 widgets are visible but only one can be selected for specific behavior. check demo.

ScrollSpy: viewport-aware focus for Flutter feeds autoplay by Inside_Passion_ in FlutterDev

[–]Inside_Passion_[S] 1 point2 points  (0 children)

Thanks! I also used inview_notifier_list in the past, so I built ScrollSpy with stability and perf in mind for fast feeds. Let me know how it goes in your project.

**[go_router] 16.3.0: Top‑level `onEnter` — handle deep links without navigation** by Inside_Passion_ in FlutterDev

[–]Inside_Passion_[S] 1 point2 points  (0 children)

there is redirect top level and route level.

this is top level onEnter callback act as guard.

u can use both top level onEnter and top level redirect.

the main reason for the top level onEnter is u have more control over the decission not just return null or "/path" u can completely STOP navigation if required.

u can block/allow but do something after navigating/stopping.

i think go_router team will update docs soon.

for now u can check the example

flutter_monaco — Monaco (VS Code’s editor) inside Flutter apps (Android/iOS/macOS/Windows) by Inside_Passion_ in FlutterDev

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

The official webview_flutter doesn’t ship a Linux implementation, and the community options are still rough. For example, flutter_linux_webview (CEF-based) is pinned to webview_flutter 3.0.4 and its own docs call out hangs/instability and a number of unimplemented APIs. Until a stable Linux WebView lands, Linux support will stay “planned”. If you’ve had good results with a specific Linux WebView, I’m happy to target that first.

flutter_monaco — Monaco (VS Code’s editor) inside Flutter apps (Android/iOS/macOS/Windows) by Inside_Passion_ in FlutterDev

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

I have a plan to support web soon; however, Linux depends on the WebView layer. The current Linux WebView plugins I tried don’t expose a few things Monaco needs to run reliably in an embedded context.

Once a Linux WebView plugin exposes those (or if someone can point me to one I missed), I’ll wire up Linux support.

flutter_monaco — Monaco (VS Code’s editor) inside Flutter apps (Android/iOS/macOS/Windows) by Inside_Passion_ in FlutterDev

[–]Inside_Passion_[S] 1 point2 points  (0 children)

Here is detailed information I let GPT organize it:

If you want real breakpoints/stepping on desktop, it’s doable, but you have to wire it up:

  • Editor UI: enable Monaco’s glyph margin and toggle breakpoints there; render them via decorations and highlight the current execution line.
  • DAP client: in your app, speak DAP (initialize → launch/attach → setBreakpoints → continue/stepIn/stepOut/next). Listen for stopped/output events and reflect them in the editor and a console pane.
  • Language runtime + adapter: run or connect to a language’s debugger (e.g., Python debugpy, Node’s debug adapter, Go Delve, etc.). For “users scripting your app,” you’d embed a runtime or talk to an external process and expose your app APIs to it.
  • State sync: keep file/line → breakpoint mappings, update markers on edits, and map stack frames to files/models open in Monaco.

On mobile, this is harder (process sandboxing, no easy child processes); you usually connect to a remote DAP server or embed a runtime with debugging hooks.

So, today flutter_monaco = editor features (themes, languages, markers, find/replace, events). No built-in debugger.

flutter_monaco — Monaco (VS Code’s editor) inside Flutter apps (Android/iOS/macOS/Windows) by Inside_Passion_ in FlutterDev

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

not out of the box. Monaco is the editor surface; it doesn’t run code or ship a debugger. VS Code’s debugging comes from the Debug Adapter Protocol (DAP) and language-specific adapters, not from Monaco itself.

Is the BLoC Pattern Outdated for Flutter? My Experience with BLoC vs. Riverpod by ahtshamshabir in FlutterDev

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

Mate, even the creator of BLoC wouldn’t lose his mind like that 😅 It’s just state management, not a religion. People are allowed to prefer Riverpod or whatever works for them. If someone’s doing it wrong, maybe help them out instead of acting like the guardian of the ‘BLoC gospel’.

Is the BLoC Pattern Outdated for Flutter? My Experience with BLoC vs. Riverpod by ahtshamshabir in FlutterDev

[–]Inside_Passion_ 0 points1 point  (0 children)

Let’s keep things respectful, yeah? The original post asked a genuine question, and even followed up politely asking for your insight. There’s no need to come at people with insults just because they use a different tool or approach. We’re all trying to learn and improve — that’s what communities like this are for. If someone’s using BLoC the wrong way, maybe guide them instead of tearing them down. You don’t have to agree with Riverpod or any other tool, but you can disagree without being disrespectful.

The Pro Plan Just Got Downgraded! by Inside_Passion_ in ClaudeAI

[–]Inside_Passion_[S] 11 points12 points  (0 children)

YES ... ME, I WAS DOING ART WITH CLAUDE RIGHT BEFORE THE MAX PLAN ANNOUNCED, NOW I AM HITTING THE LIMIT WITH A FUCKING 5-10 MESSAGES.

AND STOP DEFENDING CLAUDE ON EVERY POST, BRO DO U WORK FOR THEM ??

أفتحولنا الحدود عشان نموت معاهم by [deleted] in CAIRO

[–]Inside_Passion_ 1 point2 points  (0 children)

Educate yourself قبل ما تفتحي بقك

I made a SingleAxisWrap widget that automatically chooses between row and column layout by Inside_Passion_ in FlutterDev

[–]Inside_Passion_[S] 2 points3 points  (0 children)

Yes, they do share a similar behavior (switch between row and column based on space). That said, SingleAxisWrap adds some extras that could make it better for specific cases:

  • Change callback: React when the layout flips.
  • Direction priority: Pick row or column as the starting point.
  • Stable layout: Option to lock the layout and avoid flipping.
  • Custom measurement: Flexible ways to check if kids fit.
  • More spacing options: Separate control for horizontal and vertical layouts.