Padding class abstract

Sets the view padding in pixels.

Annotations
  • @freezed

Constructors

Padding.new({num? left, num? right, num? top, num? bottom})
Constructor
factory
Padding.fromJson(Map<String, dynamic> json)
build this object from a Json map
factory

Properties

bottom num?
no setterinherited
copyWith → $PaddingCopyWith<Padding>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
left num?
no setterinherited
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top num?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited