ResponsiveMargin class
Responsive margin utilities
Constructors
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
-
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
Static Properties
- lg → EdgeInsets
-
no setter
- md → EdgeInsets
-
no setter
- sm → EdgeInsets
-
no setter
- xl → EdgeInsets
-
no setter
- xs → EdgeInsets
-
Pre-defined margin sizes
no setter
- xxl → EdgeInsets
-
no setter
Static Methods
-
all(
double value) → EdgeInsets - All sides margin
-
horizontal(
double value) → EdgeInsets - Horizontal margin
-
only(
{double left = 0, double top = 0, double right = 0, double bottom = 0}) → EdgeInsets - Custom margin
-
symmetric(
{double horizontal = 0, double vertical = 0}) → EdgeInsets - Symmetric margin
-
vertical(
double value) → EdgeInsets - Vertical margin