WidthAttribute class Null safety



WidthAttribute(double size)


copyWith → $WidthAttributeCopyWith<WidthAttribute>
@JsonKey(ignore: true), read-only, override
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, override
value double
Builds attribute into widget propety
read-only, inherited


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. [...]
toString() String
A string representation of this object. [...]
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


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