Floatable class
A floatable widget.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- Floatable
Constructors
- Floatable.new({Key? key, FCFloat float = FCFloat.none, FCClear clear = FCClear.none, double clearMinSpacing = 0.0, EdgeInsetsGeometry margin = EdgeInsets.zero, EdgeInsetsGeometry padding = EdgeInsets.zero, double maxWidthPercentage = 1.0, required Widget child})
-
Creates and returns a new floatable widget.
const
Properties
- child → Widget
-
The child widget.
final
- clear → FCClear
-
Should the child widget "clear" (i.e. be placed below) floated siblings?
And if so, should it be placed below floated siblings on just one side
(
left
,right
,start
, orend
) orboth
? The default isnone
.final - clearMinSpacing → double
-
Minimum vertical spacing below a cleared sibling. Defaults to 0.0. Only
used if
clear
is set toleft
,right
,start
, orend
, and it is below a floated sibling.final - float → FCFloat
-
Should the child widget float to the
left
,right
,start
, orend
? The default isnone
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- margin → EdgeInsetsGeometry
-
Empty space to surround the child. Similar to CSS, the top overlaps
the previous sibling's bottom margin, the bottom overlaps the next
sibling's top margin, and the left and right overlap floated siblings.
final
- maxWidthPercentage → double
-
Maximum width as percentage of the parent FloatColumn's width. Defaults
to 100%.
final
- padding → EdgeInsetsGeometry
-
Empty space to surround the child that does not overlap siblings.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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, int wrapWidth = 65}) → 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