Flutter Development Tools

Flutter Dev Tools include thats helps us to develop and debug more efficiently. 

  1. Hot Reload
  2. Widget Inspector 
  3. Code Auto-Formatter 

Hot Stateful Reload 

  •      Flutter offers an instant hot reload of the UI when we make changes in code. This is when the JIT compiler is used. 
  • Hot reload works both on the device and on emulator. 

Flutter Widget Inspector 

  • It is similar to chrome inspector 
  • The inspector let's you navigate back and forth between a pixel on the device, Widget in the tree & the line of code that created the widget in your application 
  • Android Studio : View > Tool Windows > Flutter Inspector 

Dart Auto- Formatter 

     Android Studio : Code > Reformat code with dartfmt 
     Shft + Cmd + F 








Comments

Popular Posts