PaymentBox class

Token-only layout container. Never merges child semantics.

Inheritance

Constructors

PaymentBox({Key? key, required List<Widget> children, PaymentStack stack = PaymentStack.vertical, PaymentSpace padding = PaymentSpace.none, PaymentSpace? paddingX, PaymentSpace? paddingY, PaymentSpace gap = PaymentSpace.none, PaymentDistribute distribute = PaymentDistribute.packed, PaymentAlign alignX = PaymentAlign.stretch, PaymentAlign alignY = PaymentAlign.start, bool wrap = false, PaymentBoxBackground background = PaymentBoxBackground.none, PaymentRadius radius = PaymentRadius.none, PaymentKeyline keyline = PaymentKeyline.none, PaymentWidth width = PaymentWidth.fill})
const

Properties

alignX → PaymentAlign
alignX; uses semantic tokens.
final
alignY → PaymentAlign
alignY; uses semantic tokens.
final
background → PaymentBoxBackground
background; uses semantic tokens.
final
children → List<Widget>
children; uses semantic tokens.
final
distribute → PaymentDistribute
distribute; uses semantic tokens.
final
gap → PaymentSpace
gap; uses semantic tokens.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyline → PaymentKeyline
keyline; uses semantic tokens.
final
padding → PaymentSpace
padding; uses semantic tokens.
final
paddingX → PaymentSpace?
paddingX; uses semantic tokens.
final
paddingY → PaymentSpace?
paddingY; uses semantic tokens.
final
radius → PaymentRadius
radius; uses semantic tokens.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stack → PaymentStack
stack; uses semantic tokens.
final
width → PaymentWidth
width; uses semantic tokens.
final
wrap → bool
wrap; uses semantic tokens.
final

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