PositionedAlign class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- PositionedAlign
Constructors
- PositionedAlign({Offset? offset, Alignment alignment = Alignment.topLeft, bool? forceTry, LazyOnErrorWidgetBuilder? onError, Size? size, LazyWidgetBuilder? builder, required Widget child, Key? key})
-
A widget that will control where the child of the Stack will be placed and
at what position, according to the alignment, of the child will be the
offset.
const
Properties
- alignment → Alignment
-
The place or position of the offset inside the child.
final
- builder → LazyWidgetBuilder?
-
To be used if want to build the widget, differently, according to the
RenderBox received of the child.
final
- child → Widget
-
final
- forceTry → bool?
-
Value of LazyBuilder.forceTry, if true, will not display the child
until the RenderBox of the child is obtained.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- offset → Offset?
-
Offset of the child from the top-left corner of the stack.
final
- onError → LazyOnErrorWidgetBuilder?
-
This will be displayed in case, the LazyBuilder is not able to find the
size of the child.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size?
-
If this is not-null, then position will NOT be aligned "lazily".
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< PositionedAlign> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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