Mobile-Dev

Going with flutter over react-native, for reasons.

flutter

  • SafeArea won't get hidden by OS nav bars, etc., and is useful for in-app navigation rails.
  • Favor composition: need to pad something? Wrap it in a padding container.
  • Other useful widgets in the toolbox: FittedBox, Wrap, Expanded,
  • "Pixels" in flutter have a physical length definition, and are screen independent.
  • To rebuild on resize / phone rotate / etc.: use LayoutBuilder