JoinedWidgets extension
A collection of usefull extensions on List<Widget>
Methods
-
joinWithSeparator(
Widget separator) → List< Widget> -
Adds a specific type of
Widget
in between a list of Widgets This can be usefull to add some height in between Widgets without the need of writing it multiple times -
spaced(
{EdgeInsetsGeometry? padding, bool excludeFlex = true}) → List< Widget> - Adds the same ammount of padding to a list of Widgets This can be usefull if you need to have some of the widgets of a list spaced, and some don't