addSpacingBetween method

List<Widget> addSpacingBetween({
  1. double spacing = 16,
  2. bool horizontal = false,
})

Implementation

List<Widget> addSpacingBetween({
  double spacing = 16,
  bool horizontal = false,
}) {
  return this
    ..addBetween(
      horizontal ? SizedBox(width: spacing) : SizedBox(height: spacing),
    );
}