FDDecoratedBox class

A widget that paints a BoxDecoration either before or after its child paints.

Inheritance

Constructors

FDDecoratedBox({required BoxDecoration decoration, DecorationPosition position = DecorationPosition.background, Widget? child, Map<String, String>? cssStyle, String? rawCss, Key? key})
const

Properties

child → Widget?
final
cssStyle → Map<String, String>?
final
decoration → BoxDecoration
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
finalinherited
position → DecorationPosition
final
rawCss → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildNode(BuildContext context) → FlartNode
Virtual DOM representation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(BuildContext context) → String
Legacy string-based rendering bridge for backwards compatibility.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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