Margins class
Constructors
-
Margins({Margin? left, Margin? right, Margin? inlineEnd, Margin? inlineStart, Margin? top, Margin? bottom, Margin? blockEnd, Margin? blockStart})
-
const
-
Margins.all(double value, [Unit? unit])
-
Analogous to EdgeInsets.all
-
Margins.only({double? left, double? right, double? inlineEnd, double? inlineStart, double? top, double? bottom, double? blockEnd, double? blockStart, Unit? unit})
-
Analogous to EdgeInsets.only
-
Margins.symmetric({double? horizontal, double? vertical, Unit? unit})
-
Analogous to EdgeInsets.symmetric
Methods
-
collapse()
→ Margins
-
Auto margins already have a "value" of zero so can be considered collapsed.
-
copyWith({Margin? left, Margin? right, Margin? inlineEnd, Margin? inlineStart, Margin? top, Margin? bottom, Margin? blockEnd, Margin? blockStart})
→ Margins
-
-
copyWithEdge({double? left, double? right, double? inlineEnd, double? inlineStart, double? top, double? bottom, double? blockEnd, double? blockStart})
→ Margins
-
-
merge(Margins? other)
→ Margins
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
override