FleetPositioned class Flutter drop-in replacement
Fleet's drop-in replacement of Positioned.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- AnimatableStatelessWidget<
_PositionedAnimatableParameters> - FleetPositioned
- Available extensions
Constructors
- FleetPositioned({Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height, required Widget child})
-
Corresponding constructor to Positioned.
const
- FleetPositioned.directional({Key? key, required TextDirection textDirection, double? start, double? top, double? end, double? bottom, double? width, double? height, required Widget child})
-
Corresponding constructor to Positioned.directional.
factory
- FleetPositioned.fill({Key? key, double? left = 0.0, double? top = 0.0, double? right = 0.0, double? bottom = 0.0, required Widget child})
-
Corresponding constructor to Positioned.fill.
const
- FleetPositioned.fromRect({Key? key, required Rect rect, required Widget child})
- Corresponding constructor to Positioned.fromRect.
- FleetPositioned.fromRelativeRect({Key? key, required RelativeRect rect, required Widget child})
- Corresponding constructor to Positioned.fromRelativeRect.
Properties
- bottom → double?
-
See Positioned.bottom.
final
- child → Widget
-
See ProxyWidget.child.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
See Positioned.height.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- left → double?
-
See Positioned.left.
final
- right → double?
-
See Positioned.right.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → double?
-
See Positioned.top.
final
- width → double?
-
See Positioned.width.
final
Methods
-
build(
BuildContext context, _PositionedAnimatableParameters? parameters) → Widget -
Builds this widget with the AnimatableParameters.
override
-
createAnimatableParameters(
AnimatableParameterHost host) → _PositionedAnimatableParameters -
Creates the AnimatableParameters for this widget.
override
-
createElement(
) → ComponentElement -
Inflates this configuration to a concrete instance.
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
-
updateAnimatableParameters(
_PositionedAnimatableParameters parameters) → void -
Updates the AnimatableParameters with the new values.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited