$Container class

dart_eval wrapper for Container

Implemented types

Constructors

$Container.wrap(Container $value)
Wrap a Container for use in the dart_eval VM

Properties

$reified → Container
The underlying Container value for this wrapper
no setter
$value → Container
The underlying Container value for this wrapper
final
alignment → AlignmentGeometry?
Align the child within the container.
no setteroverride
child → Widget?
The child contained by the container.
no setteroverride
clipBehavior → Clip
The clip behavior when Container.decoration is not null.
no setteroverride
color → Color?
The color to paint behind the child.
no setteroverride
constraints → BoxConstraints?
Additional constraints to apply to the child.
no setteroverride
decoration → Decoration?
The decoration to paint behind the child.
no setteroverride
foregroundDecoration → Decoration?
The decoration to paint in front of the child.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
isAntiAlias → bool
Whether to apply anti-aliasing when painting the box.
finalinherited
key → Key?
Controls how one widget replaces another widget in the tree.
no setteroverride
margin → EdgeInsetsGeometry?
Empty space to surround the decoration and child.
no setteroverride
padding → EdgeInsetsGeometry?
Empty space to inscribe inside the decoration. The child, if any, is placed inside this padding.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transform → Matrix4?
The transformation matrix to apply before painting the container.
no setteroverride
transformAlignment → AlignmentGeometry?
The alignment of the origin, relative to the size of the container, if transform is specified.
no setteroverride

Methods

$getProperty(Runtime runtime, String identifier) → $Value?
Get a property by identifier on this instance
$getRuntimeType(Runtime runtime) → int
Index of the class Type in the runtime dictionary. By definition can change from run to run, so it's customary to use Runtime.lookupType in implementations.
$setProperty(Runtime runtime, String identifier, $Value value) → void
Set a property by identifier on this instance to value
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.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
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.
override
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
override
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
override
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
override
toStringShort() → String
A short, textual description of this widget.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

$new(Runtime runtime, $Value? target, List<$Value?> args) → $Value?

Constants

$declaration → const BridgeClassDef
Container compile-type class declaration for dart_eval
$type → const BridgeTypeRef
Container compile-type type definition for dart_eval