FlintBox class

Inheritance

Constructors

FlintBox({required List<FlintWidget> children, BoxConstraints? constraints, EdgeInsets? padding, EdgeInsets? margin, String? backgroundColor, BoxBorder? border, BorderRadius? borderRadius, BoxShadow? shadow, BoxAlignment alignment = BoxAlignment.start, BoxDecoration? decoration})

Properties

alignment BoxAlignment
final
backgroundColor String?
final
border BoxBorder?
final
borderRadius BorderRadius?
final
children List<FlintWidget>
finalinherited
constraints BoxConstraints?
final
decoration BoxDecoration?
final
hashCode int
The hash code for this object.
no setterinherited
margin EdgeInsets?
final
padding EdgeInsets?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadow BoxShadow?
final

Methods

buildTemplate() FlintWidget
Build the widget template - MUST be implemented by subclasses
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHtml() String
Render to HTML (for emails, web)
override
toJson() Map<String, dynamic>
Render to intermediate JSON (for APIs, mobile apps, etc.)
override
toString() String
A string representation of this object.
inherited
toText() String
Render to plain text (fallback, CLI, etc.)
override

Operators

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