MonetShapeTheme class

Shape policy stored in Monet theme data.

Radius and gap values are design-space lengths. resolve applies Monet's linear size scale before a border builder receives them.

Annotations

Constructors

MonetShapeTheme({BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(8)), double inputGapPadding = 4, MonetBorderBuilder borderBuilder = _roundedBorderBuilder, MonetInputBorderBuilder inputBorderBuilder = _roundedInputBorderBuilder})
const

Properties

borderBuilder → MonetBorderBuilder
final
borderRadius → BorderRadiusGeometry
final
hashCode → int
The hash code for this object.
no setteroverride
inputBorderBuilder → MonetInputBorderBuilder
final
inputGapPadding → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({BorderRadiusGeometry? borderRadius, double? inputGapPadding, MonetBorderBuilder? borderBuilder, MonetInputBorderBuilder? inputBorderBuilder}) → MonetShapeTheme
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(double scale) → MonetShapes
toString() → String
A string representation of this object.
inherited

Operators

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