SpaceAttribute class Null safety

Space Attribute

Inheritance
Implementers
Annotations

Constructors

SpaceAttribute({double? left, double? top, double? right, double? bottom})
Defaut constructor
factory
SpaceAttribute.margin({double? left, double? top, double? right, double? bottom})
Margin constructor
factory
SpaceAttribute.padding({double? left, double? top, double? right, double? bottom})
Padding constructor
factory

Properties

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

Methods

map<TResult extends Object?>(TResult $default(_SpaceAttribute value), {required TResult margin(MarginAttribute value), required TResult padding(PaddingAttribute value)}) → TResult
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>(TResult $default(_SpaceAttribute value)?, {TResult margin(MarginAttribute value)?, TResult padding(PaddingAttribute value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>(TResult $default(double? left, double? top, double? right, double? bottom)?, {TResult margin(double? left, double? top, double? right, double? bottom)?, TResult padding(double? left, double? top, double? right, double? bottom)?, 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? left, double? top, double? right, double? bottom), {required TResult margin(double? left, double? top, double? right, double? bottom), required TResult padding(double? left, double? top, double? right, double? bottom)}) → TResult
@optionalTypeArgs, inherited

Operators

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

Static Methods

create<T extends SpaceAttribute>({double? left, double? top, double? right, double? bottom}) → T
Create instance a class of SpaceeAttrtibute