Category "dart"

How to not dispose of previous widget when navigating to a new widget in Flutter?

What I am currently doing Navigator.push(context, RouteAnimationFadeIn(NewWidget(someValue), true)); RouteAnimationFadeIn: class RouteAnimationFade

Generic callback with generic class as parameter in Dart

I wrote a custom switch class in Flutter to implement generic parameters, I used the flutter_switch package. When I toggle the switch I faced the following erro

Xcode build is missing expected TARGET_BUILD_DIR build setting

I face error while launching on device on iPhone 12 Pro Max. This is console log Launching lib/main.dart on iPhone 12 Pro Max in `debug mode` Running Xcode buil

How to highlight correct word on searchDelegate?

I highlighted the word, but not the correct word. In my BuilderSuggection, I added like this code, title: RichText( text: TextSpan(