SizeAttribute class Null safety

Double attribute

Inheritance
Implementers
Annotations

Constructors

SizeAttribute(double size)
Constructor
factory
SizeAttribute.gap(double size)
factory
SizeAttribute.height(double size)
factory
SizeAttribute.maxHeight(double size)
factory
SizeAttribute.maxWidth(double size)
factory
SizeAttribute.minHeight(double size)
factory
SizeAttribute.minWidth(double size)
factory
SizeAttribute.width(double size)
factory

Properties

copyWith → $SizeAttributeCopyWith<SizeAttribute>
@JsonKey(ignore: true), read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size double
read-only, inherited
value double
Builds attribute into widget propety
read-only, override

Methods

map<TResult extends Object?>(TResult $default(_SizeAttribute value), {required TResult height(HeightAttribute value), required TResult maxHeight(MaxHeightAttribute value), required TResult minHeight(MinHeightAttribute value), required TResult width(WidthAttribute value), required TResult maxWidth(MaxWidthAttribute value), required TResult minWidth(MinWidthAttribute value), required TResult gap(GapAttribute value)}) → TResult
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>(TResult $default(_SizeAttribute value)?, {TResult height(HeightAttribute value)?, TResult maxHeight(MaxHeightAttribute value)?, TResult minHeight(MinHeightAttribute value)?, TResult width(WidthAttribute value)?, TResult maxWidth(MaxWidthAttribute value)?, TResult minWidth(MinWidthAttribute value)?, TResult gap(GapAttribute value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>(TResult $default(double size)?, {TResult height(double size)?, TResult maxHeight(double size)?, TResult minHeight(double size)?, TResult width(double size)?, TResult maxWidth(double size)?, TResult minWidth(double size)?, TResult gap(double size)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
when<TResult extends Object?>(TResult $default(double size), {required TResult height(double size), required TResult maxHeight(double size), required TResult minHeight(double size), required TResult width(double size), required TResult maxWidth(double size), required TResult minWidth(double size), required TResult gap(double size)}) → TResult
@optionalTypeArgs, inherited

Operators

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