ResponsiveEdgeInsets class

Responsive EdgeInsets helper Makes it easy to create responsive padding and margins

Constructors

ResponsiveEdgeInsets()

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 Methods

all(double value) EdgeInsets
Create responsive padding for all sides
allSafe(double value) EdgeInsets
Create responsive padding for all sides using safe area
fromLTRB(double left, double top, double right, double bottom) EdgeInsets
Create responsive padding from LTRB values
fromLTRBSafe(double left, double top, double right, double bottom) EdgeInsets
Create responsive padding from LTRB values using safe area
only({double? left, double? top, double? right, double? bottom}) EdgeInsets
Create responsive padding with individual values
onlySafe({double? left, double? top, double? right, double? bottom}) EdgeInsets
Create responsive padding with individual values using safe area
symmetric({double? horizontal, double? vertical}) EdgeInsets
Create symmetric responsive padding
symmetricSafe({double? horizontal, double? vertical}) EdgeInsets
Create symmetric responsive padding using safe area