Learning Flutter Widgets, Widget 3 – Wrap
Flutter Wrap class Flutter wrap widget that displays its children in multiple horizontal or vertical runs. A Wrap lays out each child and attempts to place the child adjacent to the previous child in the main axis, given by direction, leaving spacing space in between. If there is not enough space to fit the child, Wrap creates a new run adjacent to the existing…
Learning Flutter Widgets, Widget 2 – Expanded
Flutter Expanded class Flutter Expanded widget that expands a child of a Row, Column, or Flex so that the child fills the available space. Using an flutter Expanded widget makes a child of a Row, Column, or Flex expand to fill the available space along the main axis (e.g., horizontally for a Row or vertically for a Column). If multiple children are expanded, the available space is divided among…
Learning Flutter Widgets, Widget 1 – Safe Area
Flutter SafeArea class A widget that insets its child by sufficient padding to avoid intrusions by the operating system. For example, this will indent the child by enough to avoid the status bar at the top of the screen. It will also indent the child by the amount necessary to avoid The Notch on the iPhone…