Widgets vs helper methods | Decoding Flutter

Pubblicato il: 10 dicembre 2021
sul canale di: Flutter
189,467
5.8k

Flutter developers are well-acquainted with widget build methods that grow, and grow… and grow. In this video, Craig Labenz compares two different ways to break up those unwieldy build methods; and how the best option may be different than what you originally suspected.

See the differences in action in these DartPads:
Managing rebuilds with nested const widgets → https://goo.gle/3yallg1
Managing rebuilds with nested non-const widgets → https://goo.gle/3IyafpM
Preventing errors with separate widgets → https://goo.gle/3dDrR5o
Helper methods can create a requirement for Keys → https://goo.gle/31HlnQB

Get started with Flutter → http://goo.gle/Flutter
Learn more about the Dart Language → https://goo.gle/2YF9OCi

Watch more Decoding Flutter episodes → http://goo.gle/DecodingFlutter
Don’t miss an episode, subscribe to Flutter → http://goo.gle/FlutterYT

#DecodingFlutter #Flutter #Developer


product: Flutter - Development - User interface;


In questa pagina del sito puoi guardare il video online Widgets vs helper methods | Decoding Flutter della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Flutter 10 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 189,467 volte e gli è piaciuto 5.8 mille spettatori. Buona visione!