BsCol class
Use BsCol to define column in BsRow
If sizes is empty will automatically using Col.col_12 in all screen device or all BreakPoint
- Inheritance
Constructors
- BsCol({Key? key, BsVisibility visibility = BsVisibility.block, ColScreen sizes = const ColScreen(), ColOrder order = const ColOrder(), ColScreen offset = const ColScreen(), Color? color, double? height, BoxConstraints? constraints, EdgeInsetsGeometry? padding, EdgeInsets? margin, AlignmentGeometry? alignment, Decoration? decoration, Decoration? foregroundDecoration, Matrix4? transform, AlignmentGeometry? transformAlignment, Clip clipBehavior = Clip.none, Widget? child})
-
const
Properties
- alignment → AlignmentGeometry?
-
AlignmentGeometry of Container widget in BsCol
final
- child → Widget?
-
Child of BsCol
final
- clipBehavior → Clip
-
Clip of Container widget in BsCol
final
- color → Color?
-
Color of Container widget in BsCol
final
- constraints → BoxConstraints?
-
Constraints of Container widget in BsCol
final
- decoration → Decoration?
-
Decoration of Container widget in BsCol
final
- foregroundDecoration → Decoration?
-
Foreground Decoration of Container widget in BsCol
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
Height of Container widget in BsCol
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- margin → EdgeInsets?
-
Margin of Container widget in BsCol
final
- offset → ColScreen
-
Set offset of BsCol base on BreakPoint using ColScreen
final
- order → ColOrder
-
If you need to change order of BsCol in some BreakPoint
ColOrder is very helpful
final
- padding → EdgeInsetsGeometry?
-
Padding of Container widget in BsCol
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizes → ColScreen
-
Set width of BsCol base on BreakPoint using ColScreen
if sizes is empty, system automatically using Col.col_12 in all breakpoint
final
- transform → Matrix4?
-
Matrix4 Transform of Container widget in BsCol
final
- transformAlignment → AlignmentGeometry?
-
AlignmentGeometry of Container widget in BsCol
final
- visibility → BsVisibility
-
If you need to hide BsCol on some screen device or BreakPoint
use BsVisibility
Example:
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited