BoxDecoration class Null safety

Annotations

Constructors

BoxDecoration({PdfColor? color, BoxBorder? border, BorderRadius? borderRadius, List<BoxShadow>? boxShadow, Gradient? gradient, DecorationGraphic? image, BoxShape shape = BoxShape.rectangle})
const

Properties

border BoxBorder?
final
borderRadius BorderRadius?
final
boxShadow List<BoxShadow>?
final
color PdfColor?
The color to fill in the background of the box.
final
gradient Gradient?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
image DecorationGraphic?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shape BoxShape
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paint(Context context, PdfRect box, [PaintPhase phase = PaintPhase.all]) → void
toString() String
A string representation of this object. [...]
inherited

Operators

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