Explore tweets tagged as #Fluttertip
#Flutter tip: instead of abruptly switching between 2 widgets, use the #AnimatedCrossFade to apply smooth fade animation for a better user experience π₯ π. #FlutterTip #FlutterDev
11
70
398
If you've seen that cool Glass effect in UI design and wanted to add it to your #Flutter app,you can easily do so with the #BackdropFilter widgetπ₯. Just wrap it with a ClipRect widget to apply the filter to the child only (it might be applied to the entire screenπ
). #FlutterTip
16
102
659
#Flutter tip: use the #SafeArea widget to make sure your content is not hidden by any operating system elements like the status bar at the top or the iOS home indicator at the bottom π
π½ββοΈ.You might need this if your page doesnβt have an app bar for example. #FlutterDev #FlutterTip
8
62
470
#Flutter tip: use the #ReorderableListView widget to easily create lists that the user can reorder π€. #FlutterDev #FlutterTip
3
33
208
#Flutter tip: avoid calling setState() in a long build method or all the child widgets in it will rebuild! . The best solution would be to destructure your build method into multiple small widgets. But if you canβt do that for some case, use the #ValueNotifier widget. #FlutterTip
5
29
174
#Flutter tip: use the #ColorFiltered widget to apply custom color filters to any section in your UI. An example usage would be to indicate inactive elements in your UI using a greyscale color filter. #FlutterTip #FlutterDev
5
43
217
π§ Flutter tip 43.As you know Iβm a test addict. Hereβs one function I use every day π. #flutterdev #flutter #fluttertip
5
38
200
#Flutter performance tip: for long lists, use the builder() constructor with your ListView or GridView widgets. This way your list/grid items will only be built on-demand as they are scrolled into view π₯βοΈ. #FlutterTip #FlutterDev #FlutterPerformance
0
40
199
π§ Flutter tip 55. Center a form without hiding fields when the keyboard is opened. #flutterdev #flutter #fluttertip
6
57
429
π§ Flutter tip 45.Create a designed error screen. Iβm bored by that red or grey screen. #flutterdev #flutter #fluttertip
9
51
233
π§ Flutter tip 42.OverflowBar or Wrap?.Those two are very similar butβ¦ Do you know when to use one or another?. #flutterdev #flutter #fluttertip
4
28
165
#Flutter tip: use the #RichText widget to be able to change the text style of specific words or portions inside your paragraph. #Flutter #FlutterDev #FlutterTip
7
19
145
#Flutter tip: use the #WillPopScope widget to prevent your user from swiping the page to dismiss (pop) it. This is important when you're loading some API request for example. #FlutterDev #FlutterTip
6
25
167