BSColumn constructor
const
BSColumn({
- Key? key,
- List<
String> breakPoints = const ["col-12"], - List<
Widget> builder(- BuildContext context
- double? sizedBoxHeight,
- Key? sizedBoxKey,
- Key? paddingKey,
- EdgeInsetsGeometry paddingPadding = const EdgeInsets.only(left: 15, right: 15),
- Key? bsColumnInheritanceKey,
- List<
Widget> ? children, - Key? columnKey,
- MainAxisSize columnMainAxisSize = MainAxisSize.max,
- CrossAxisAlignment columnCrossAxisAlignment = CrossAxisAlignment.center,
- MainAxisAlignment columnMainAxisAlignment = MainAxisAlignment.start,
- TextBaseline? columnTextBaseline,
- TextDirection? columnTextDirection,
- 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,
});