BSColumn constructor

const BSColumn({
  1. Key? key,
  2. List<String> breakPoints = const ["col-12"],
  3. List<Widget> builder(
    1. BuildContext context
    )?,
  4. double? sizedBoxHeight,
  5. Key? sizedBoxKey,
  6. Key? paddingKey,
  7. EdgeInsetsGeometry paddingPadding = const EdgeInsets.only(left: 15, right: 15),
  8. Key? bsColumnInheritanceKey,
  9. List<Widget>? children,
  10. Key? columnKey,
  11. MainAxisSize columnMainAxisSize = MainAxisSize.max,
  12. CrossAxisAlignment columnCrossAxisAlignment = CrossAxisAlignment.center,
  13. MainAxisAlignment columnMainAxisAlignment = MainAxisAlignment.start,
  14. TextBaseline? columnTextBaseline,
  15. TextDirection? columnTextDirection,
  16. VerticalDirection columnVerticalDirection = VerticalDirection.down,
})

Should be the direct child of a BSRow; however, if required BSColumn can be nested in Widget's with "child" property, BSRow must be an ancestor of BSColumn. BSColumn has a default breakpoint of col-12. If there are two values for a single breakpoint range ex col-sm-1 & col-sm-2, the first in the array will be used. Note only col-, col-sm-, col-md-, col-lg-, col-xl-, col-xxl- prefixes are used. col, or col-md will not work

Implementation

const BSColumn({
  super.key,
  /*
    unique
  */
  this.breakPoints = const [
    "col-12",
  ],
  this.builder,
  /*
    SizedBox
  */
  this.sizedBoxHeight,
  this.sizedBoxKey,
  /*
    Padding
  */
  this.paddingKey,
  this.paddingPadding = const EdgeInsets.only(
    left: 15,
    right: 15,
  ),
  /*
    BSColumnInheritance
  */
  this.bsColumnInheritanceKey,
  /*
    Column
  */
  this.children,
  this.columnKey,
  this.columnMainAxisSize = MainAxisSize.max,
  this.columnCrossAxisAlignment = CrossAxisAlignment.center,
  this.columnMainAxisAlignment = MainAxisAlignment.start,
  this.columnTextBaseline,
  this.columnTextDirection,
  this.columnVerticalDirection = VerticalDirection.down,
});