Floatable class

A floatable widget.

Inheritance

Constructors

Floatable({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, or end) or both? The default is none.
final
clearMinSpacing double
Minimum vertical spacing below a cleared sibling. Defaults to 0.0. Only used if clear is set to left, right, start, or end, and it is below a floated sibling.
final
float FCFloat
Should the child widget float to the left, right, start, or end? The default is none.
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}) 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