EdgeInsetsDirectional class
An EdgeInsets with start and end instead of left and right. These are resolved based on text direction.
- Inheritance
-
- Object
- EdgeInsetsGeometry
- EdgeInsetsDirectional
Constructors
- EdgeInsetsDirectional.all(double value)
-
const
- EdgeInsetsDirectional.fromSTEB(double start, double top, double end, double bottom)
-
const
- EdgeInsetsDirectional.only({double start = 0.0, double top = 0.0, double end = 0.0, double bottom = 0.0})
-
const
- EdgeInsetsDirectional.symmetric({double vertical = 0.0, double horizontal = 0.0})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
TextDirection? direction) → EdgeInsets -
Resolves the insets to concrete values.
override
-
toCss(
[TextDirection? direction]) → String -
Converts this edge insets to a CSS padding/margin value.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- zero → const EdgeInsetsDirectional