SpWML constructor
SpWML(
- String 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,
- TextFieldManager? tfm,
- IndexManager? im,
- FlagManager? fm,
- MultiIndexManager? mim,
- MultiFlagManager? mfm,
- ValueManager? vm,
- StateManager? sm,
- GlobalKey<
State< ? key,StatefulWidget> >
(en)The manager class is automatically set using the sid set in the layout as a key.
(ja)レイアウトに設定されているsidをキーとして、マネージャークラスは自動設定されます。
- spWML : SpWML text.
- mainAA : Top level Column MainAxisAlignment.
- crossAA : Top level Column CrossAxisAlignment.
- mainAS : The MainAxisSize of wrap column.
- margin : Top level Column Margin.
- padding : Top level Column Padding.
spWMLStyle
: Font styles. If you want to change the default style, you can change the contents of the singleton SpWMLFontManager class.- info : This is information object. e.g. A hint when an error occurs. It is convenient to set when nesting multiple SpWMLs.
- tfm : The manager for textfield.
- im : The manager for dropdownBtn and popupMenuBtn and radioBtn.
- fm : The manager for switchBtn.
- mim : The manager for segmentedBtn.
- mfm : The manager for checkbox.
- vm : The manager for progressIndicator and slider.
- sm : The manager for all widget state. If this is not null, other managers will be disabled.
Implementation
SpWML(this.spWML,
{this.mainAA = MainAxisAlignment.start,
this.crossAA = CrossAxisAlignment.start,
this.mainAS = MainAxisSize.max,
this.margin = const EdgeInsets.all(0),
this.padding = const EdgeInsets.all(0),
SpWMLFontStyle? spWMLStyle,
this.info,
this.tfm,
this.im,
this.fm,
this.mim,
this.mfm,
this.vm,
this.sm,
GlobalKey? key})
: style = spWMLStyle ?? SpWMLFontStyleManager().style,
super(key: key);