Lessons:
- Find widgets on pub.dev that fit your project and are null safe, null safety makes your project better and inherently compatible with other null safe projects.
- Learn more about null safety here: dart.dev
- Using
flutter cleanis your friend- Builds occasionally don’t work for no real reason. If this is the case, you can always run the clean command to potentially fix issues.
- If this doesn’t work, you can build it to a different platform/os then back to the original platform.
- To my knowledge, you cannot use widgets to communicate with other widgets, I can’t say:
childWidget()
build()
return widget(
onTap: () {
parentWidget.add(item);
setState(){};but I can say:
//this is pseudo code
parentWidget(){
mylist = [];
Widget childWidget(list){
return widget(
onTap: () {
mylist.add("hello")
setState(){};
}
}
build() => childWidget(mylist);
}- When using the scaffold widget to make the app, you want to use an indexed stack if you want to also use an animated navigation bar, to let the animation play out, instead of getting cut off when switching contexts.
I’ll add binaries to this page shortly, see you next time!
🪧 Enjoy Reading This?
Get notified of future posts by RSS!
Here are some more you might like to read next:
My Website Is Improving!
Working with Liquid HTML Jan 16th 2022
Python Dream Bot
Intentionally Bad Image Manipulation Aug 18th 2021
Arbidor
A Very Short Puzzle Game That Crashes When You Win Aug 11th 2021
💬 Looking for comments?
I don't have comments on this site as they can be time consuming to manage. I'd rather concentrate on programming cool and new things.
Since you can't leave a comment, feel free to 📨 contact me instead.
