NudgeBox class

Decoration + sizing shared by every node (the dashboard's commonProps).

Constructors

NudgeBox({bool fillWidth = false, double? fixedWidth, double? fixedHeight, Color? background, EdgeInsets padding = EdgeInsets.zero, EdgeInsets margin = EdgeInsets.zero, double borderRadius = 0, Color? borderColor, double borderWidth = 0, NudgeSelfAlign? selfAlign})
const

Properties

background Color?
final
borderColor Color?
final
borderRadius double
final
borderWidth double
final
fillWidth bool
final
fixedHeight double?
final
fixedWidth double?
final
hashCode int
The hash code for this object.
no setterinherited
margin EdgeInsets
final
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfAlign NudgeSelfAlign?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withoutFixedHeight() NudgeBox
A copy with the fixed height cleared — used when another mechanism (e.g. an image's aspect ratio) owns the height and the box must not clamp it.

Operators

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

Constants

none → const NudgeBox