SpacingStyleMixin<T extends Mix<Object?> > mixin
Mixin that provides convenient spacing styling methods for styles
- Mixin applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
margin(
EdgeInsetsGeometryMix< EdgeInsetsGeometry> value) → T - Must be implemented by the class using this mixin
-
marginAll(
double value) → T - Sets margin on all sides.
-
marginBottom(
double value) → T - Sets the bottom margin.
-
marginEnd(
double value) → T - Sets the end (trailing) margin.
-
marginLeft(
double value) → T - Sets the left margin.
-
marginOnly(
{double? horizontal, double? vertical, double? start, double? end, double? left, double? right, double? top, double? bottom}) → T - Sets custom margin for each side with priority resolution.
-
marginRight(
double value) → T - Sets the right margin.
-
marginStart(
double value) → T - Sets the start (leading) margin.
-
marginTop(
double value) → T - Sets the top margin.
-
marginX(
double value) → T - Sets horizontal (left and right) margin.
-
marginY(
double value) → T - Sets vertical (top and bottom) margin.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
padding(
EdgeInsetsGeometryMix< EdgeInsetsGeometry> value) → T - Must be implemented by the class using this mixin
-
paddingAll(
double value) → T - Sets padding on all sides.
-
paddingBottom(
double value) → T - Sets the bottom padding.
-
paddingEnd(
double value) → T - Sets the end (trailing) padding.
-
paddingLeft(
double value) → T - Sets the left padding.
-
paddingOnly(
{double? horizontal, double? vertical, double? start, double? end, double? left, double? right, double? top, double? bottom}) → T - Sets custom padding for each side with priority resolution.
-
paddingRight(
double value) → T - Sets the right padding.
-
paddingStart(
double value) → T - Sets the start (leading) padding.
-
paddingTop(
double value) → T - Sets the top padding.
-
paddingX(
double value) → T - Sets horizontal (left and right) padding.
-
paddingY(
double value) → T - Sets vertical (top and bottom) padding.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited