Padding class final

A widget that adds padding to its child.

Inheritance

Constructors

Padding({required Widget child, required Spacing spacing})
Creates a padding widget.
const

Properties

child Widget
The widget to pad.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing Spacing
The padding to apply.
final

Methods

draw(Buffer buffer) → void
Draws the widget on the buffer.
override
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