SpacingInsetsData class abstract
Defines the edge insets configuration.
A set of presets are available :
- all equivalent of
EdgeInsets.all(<size>)
- vertical equivalent of
EdgeInsets.symmetric(vertical: <size>)
- horizontal equivalent of
EdgeInsets.symmetric(horizontal: <size>)
- onlyRight equivalent of
EdgeInsets.only(right: <size>)
- onlyLeft equivalent of
EdgeInsets.only(left: <size>)
- onlyTop equivalent of
EdgeInsets.only(top: <size>)
- onlyBottom equivalent of
EdgeInsets.only(bottom: <size>)
- exceptRight equivalent of
EdgeInsets.fromLTRB(<size>,<size>,0,<size>)
- exceptLeft equivalent of
EdgeInsets.fromLTRB(0,<size>,<size>,<size>)
- exceptTop equivalent of
EdgeInsets.fromLTRB(<size>,0,<size>,<size>)
- exceptBottom equivalent of
EdgeInsets.fromLTRB(<size>,<size>,<size>,0)
- Annotations
-
- @freezed
Constructors
-
SpacingInsetsData({required SizeSet<
EdgeInsets> all, required SizeSet<EdgeInsets> horizontal, required SizeSet<EdgeInsets> vertical, required SizeSet<EdgeInsets> onlyRight, required SizeSet<EdgeInsets> onlyTop, required SizeSet<EdgeInsets> onlyBottom, required SizeSet<EdgeInsets> onlyLeft, required SizeSet<EdgeInsets> exceptLeft, required SizeSet<EdgeInsets> exceptRight, required SizeSet<EdgeInsets> exceptTop, required SizeSet<EdgeInsets> exceptBottom}) -
constfactory
-
SpacingInsetsData.fromSpaces(SizeSet<
double> spaces) -
factory
Properties
-
all
→ SizeSet<
EdgeInsets> -
no setterinherited
-
copyWith
→ $SpacingInsetsDataCopyWith<
SpacingInsetsData> -
no setterinherited
-
exceptBottom
→ SizeSet<
EdgeInsets> -
no setterinherited
-
exceptLeft
→ SizeSet<
EdgeInsets> -
no setterinherited
-
exceptRight
→ SizeSet<
EdgeInsets> -
no setterinherited
-
exceptTop
→ SizeSet<
EdgeInsets> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
horizontal
→ SizeSet<
EdgeInsets> -
no setterinherited
-
onlyBottom
→ SizeSet<
EdgeInsets> -
no setterinherited
-
onlyLeft
→ SizeSet<
EdgeInsets> -
no setterinherited
-
onlyRight
→ SizeSet<
EdgeInsets> -
no setterinherited
-
onlyTop
→ SizeSet<
EdgeInsets> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
vertical
→ SizeSet<
EdgeInsets> -
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited