ViewMargin class
A configuration for margin (empty space) around a layout child view.
Constructors
- ViewMargin({int? topPx, int? bottomPx, int? rightPx, int? leftPx})
-
const
Properties
- bottomPx → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Total height.
no setter
- leftPx → int
-
final
- rightPx → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topPx → int
-
final
- width → int
-
Total width.
no setter
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
Constants
- empty → const ViewMargin
- A ViewMargin with all zero px.