PaddingConfig class
Configuration for widget padding.
Constructors
- PaddingConfig({required double horizontal, required double vertical})
-
Creates a new PaddingConfig instance.
const
-
PaddingConfig.fromJson(Map<
String, dynamic> json) -
Creates a PaddingConfig from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontal → double
-
Horizontal padding in points.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vertical → double
-
Vertical padding in points.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this PaddingConfig to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited