MorphableWidget class

MorphableWidget - Configuration for a morphable state.

Defines the visual properties that can be morphed between states.

Constructors

MorphableWidget({required Widget child, BoxDecoration? decoration, Size? size, EdgeInsets? padding})
const

Properties

child Widget
The child widget to display
final
decoration BoxDecoration?
Optional decoration (background, border, shadow)
final
hashCode int
The hash code for this object.
no setteroverride
padding EdgeInsets?
Optional padding
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size?
Optional size
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

Operators

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