DesignParamWidgetPlaceholder class

Configures a widget placeholder generator

The generated data is of type Widget

Annotations
  • @freezed

Constructors

DesignParamWidgetPlaceholder({@Default(Colors.amber) Color color, @Default(Size(100, 100)) Size size})
const
factory

Properties

color Color
Background color of the placeholder
no setterinherited
copyWith → $DesignParamWidgetPlaceholderCopyWith<DesignParamWidgetPlaceholder>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
Size of the placeholder
no setterinherited

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.
inherited