WidgetsSeparator extension

WidgetsSeparatorExtension on List

on

Methods

ifNotLast(int i) bool

Available on List<Widget>, provided by the WidgetsSeparator extension

withDividerInBetween({Color? color, double? height, double? thickness, double? indent, double? endIndent}) List<Widget>

Available on List<Widget>, provided by the WidgetsSeparator extension

withDividerInBetween Returns a new list with dividers between each widget.
withGapInBetween(double gapSize) List<Widget>

Available on List<Widget>, provided by the WidgetsSeparator extension

withGapInBetween Returns a new list with gaps of the specified size between each widget.
withWidgetInBetween(Widget widget) List<Widget>

Available on List<Widget>, provided by the WidgetsSeparator extension

withWidgetInBetween Returns a new list with the given widget inserted between each element of the original list.