PaddingAttribute class Null safety
- Inheritance
- Object
- Attribute<
EdgeInsets> - SpaceAttribute
- PaddingAttribute
Constructors
- PaddingAttribute({double? left, double? top, double? right, double? bottom})
-
factory
Properties
- bottom → double?
-
read-only, override
-
copyWith
→ $PaddingAttributeCopyWith<
PaddingAttribute> -
@JsonKey(ignore: true), read-only, override
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- left → double?
-
read-only, override
- right → double?
-
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- top → double?
-
read-only, override
- value → EdgeInsets
-
Builds attribute into widget propety
read-only, inherited
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