Welcome to the Flutter Tips and Tricks repository! This collection focuses on practical Dart language tips and patterns that are especially useful when building Flutter apps. Each tip includes a short guide and a runnable Dart example.
Topic | Guide | Code | Run |
---|---|---|---|
Anonymous functions | Guide | Code | dart tips_and_tricks/anonymous_function/anonymous_function.dart |
Cascade notation (.. ) |
Guide | Code | dart tips_and_tricks/cascade_notation/cascade_notation.dart |
final vs const |
Guide | Code | dart tips_and_tricks/final_const/final_const.dart |
late keyword |
Guide | Code | dart tips_and_tricks/late_keyword/late_keyword.dart |
Null-aware operators (?. , ?? ) |
Guide | Code | dart tips_and_tricks/null_aware_operator/null_aware_operator.dart |
Spread operator (... , ...? ) |
Guide | Code | dart tips_and_tricks/spread_operator/spread_operator.dart |
String manipulation | Guide | Code | dart tips_and_tricks/string_manipulation/string_manupulation.dart |
See the curated learning path in roadmap/flutter_roadmap.md
.
Please read the guidelines in CONTRIBUTING.md before submitting changes.
This project is licensed under the MIT License. See LICENCE
for details.
For any questions or feedback, you can reach out to the project maintainer:
Happy coding!