SpaceAttribute class
Attribute of type space
- Inheritance
- Implementers
- Annotations
-
- @freezed
Constructors
- SpaceAttribute({int? left, int? top, int? right, int? bottom})
-
Defaut constructor
factory
- SpaceAttribute.margin({int? left, int? top, int? right, int? bottom})
-
Margin constructor
factory
- SpaceAttribute.padding({int? left, int? top, int? right, int? bottom})
-
Padding constructor
factory
Properties
- bottom → int?
-
no setterinherited
-
copyWith
→ $SpaceAttributeCopyWith<
SpaceAttribute> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → int?
-
no setterinherited
- right → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → int?
-
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(int? left, int? top, int? right, int? bottom)?, {TResult margin(int? left, int? top, int? right, int? bottom)?, TResult padding(int? left, int? top, int? right, int? 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(int? left, int? top, int? right, int? bottom), {required TResult margin(int? left, int? top, int? right, int? bottom), required TResult padding(int? left, int? top, int? right, int? bottom)}) → TResult -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited