SpaceAttribute class
Attribute of type space
- Inheritance
- Implementers
- Annotations
-
- @freezed
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?
-
no setterinherited
-
copyWith
→ $SpaceAttributeCopyWith<
SpaceAttribute> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → double?
-
no setterinherited
- right → double?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → double?
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_SpaceAttribute value), {required TResult margin(MarginAttribute value), required TResult padding(PaddingAttribute value)}) → TResult -
inherited
-
maybeMap<
TResult extends Object?> (TResult $default(_SpaceAttribute value)?, {TResult margin(MarginAttribute value)?, TResult padding(PaddingAttribute value)?, required TResult orElse()}) → TResult -
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 -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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 -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited