Flutter Igniter 💙 (@flutterigniter) header
Flutter Igniter 💙 (@flutterigniter) profile picture

Tips and articles to help you grasp Flutter 🚀 Home of Flutter Snacks 🍿! Sign up ➡️ https://teapawt.org/t.co/tzhibY6Do5 Run by @thefrank06 and @jameswdixon

Denver, CO
Joined June 2019
@FlutterMemes here's one from our Snacks newsletter that we think fits in nicely :) #flutter #flutterdev
Shortest stateful Flutter app ever? 20 LoC #flutter
1
5
1
11
Snacks #2 is dropping in an hour 🎉Extensions in Dart 2.6, the Flutter Team's Reddit AMA recap, Flutter conferences and more. The best of the Flutter-verse in 3 minutes or less. Haven't subscribed yet? There's still time! ow.ly/BCg550wOeHV #flutter #flutterdev #dart
1
3
Want to lock your app to a specific orientation? Use `SystemChrome.setPreferredOrientations()`! Example attached. #flutter #flutterdev #dart
2
3
Volume #2 of our new "Snacks" newsletter is dropping later this week... Curious how Snacks is diff from other newsletters? Check out Volume #1: mailchi.mp/fe75d448c8fc/snac… Subscribe here: ow.ly/FK6v50wKigI Keep on Flutterin' folks 🤘 #flutter #flutterdev
1
2
Is there an experimental Dartpad version to try out extensions? Or where are folks trying this out? @luke_pighetti ? Sooo looking forward to this! #dart #flutter
3
3
In case you missed it... We just introduced Snacks...a personally-curated newsletter featuring only the best of the best from the Flutter-verse in 3 minutes or less. Delivered monthly. No link walls. No spam. Snacks #1 drops tomorrow! ow.ly/joNR50wu459 #flutter #dart
3
Introducing Snacks. A personally-curated newsletter featuring only the best of the best from the Flutter-verse in 3 minutes or less. Delivered monthly. No link walls. No spam. EVER. Snacks #1 dropping on Oct 1. Don't miss out! ow.ly/B8g650wtWS2 #flutter #dart
2
3
Dart has optional positional parameters! They are denoted by brackets. A function with optionals looks like: test(String first, [String second]) { print(first); print(second ?? ''); } #dart #dartlang #flutter #fluttercommunity
2
Circle border around an image? Use the CircleAvatar widget! CircleAvatar( radius: 120, backgroundImage: NetworkImage('source.unsplash.com/collecti…') ), #flutter #fluttercommunity
1
Dart defines implicit interfaces. What does this mean? In your app you'd have: class Session { authenticate() { // impl } } And in tests: class MockSession implements Session { authenticate() { // mock impl } } No need to define a separate interface! #dart #flutter
Did you know about the * operator in Dart strings? `Text("z" * 152),` will create a text widget with 152 "z" characters. Insanely useful 🤪 (Actually, it could help with padding a number with leading zeros, for example!) #dart #dartlang #fluttercommunity #flutter
Still wondering what a "typedef" is? It basically defines the signature of a function (callback). Look at this example – the crazy sort function complies with the "type definition" of Comparison! #flutter #fluttercommunity #fluttertipoftheday
1
1
Launch any emulator right from VSCode by pressing Cmd (or Ctrl) + Shift + P, and typing "Launch Emulator": #flutter #fluttercommunity #fluttertipoftheday
1
2
Regex tip for Dart: If you're copying a regex from Javascript or another language that requires slashes at the beginning and end, it will NOT work in Dart. Remove the slashes and your regex should work as expected 💪 #flutter #fluttercommunity #fluttertipoftheday #dart
2