SpWMLBuilder class
(en)A builder class for converting SpWML to widgets.
(ja)SpWMLをウィジェットに変換するためのビルダークラスです。
Constructors
-
SpWMLBuilder(dynamic spWML, {MainAxisAlignment mainAA = MainAxisAlignment.start, CrossAxisAlignment crossAA = CrossAxisAlignment.start, MainAxisSize mainAS = MainAxisSize.max, EdgeInsets margin = const EdgeInsets.all(0), EdgeInsets padding = const EdgeInsets.all(0), SpWMLFontStyle? spWMLStyle, SpWMLInfo? info, GlobalKey<
State< ? key})StatefulWidget> > - Constructor
Properties
- crossAA → CrossAxisAlignment
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → SpWMLInfo?
-
final
-
key
→ GlobalKey<
State< ?StatefulWidget> > -
final
- mainAA → MainAxisAlignment
-
final
- mainAS → MainAxisSize
-
final
- margin → EdgeInsets
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → SpWMLFontStyle
-
final
Methods
-
build(
BuildContext context) → Widget - (en)Build widget.
-
getAllElements(
) → List< SpWMLElement> - (en) Get a reference to the elements.
-
getElement(
String sid) → SpWMLElement? - (en) Gets the element with the specified String ID.
-
length(
) → int - (en) Gets the element length.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replace(
String sid, Widget newWidget) → void - (en)Replaces the contents of the specified SID with a widget.
-
replaceUnderStructure(
String sid, List< Widget> newWidgets) → void - (en)Disables any child element of col, row, or wrap with the specified SID and replaces it with a new widget.
-
setManager(
{TextFieldManager? tfm, IndexManager? im, FlagManager? fm, MultiIndexManager? mim, MultiFlagManager? mfm, ValueManager? vm}) → void - (en)The manager class is automatically set using the sid set in the layout as a key.
-
setStateManager(
StateManager sm) → void - (en)The manager class is automatically set using the sid set in the layout as a key.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited