WidgetParser class abstract
extends this class to make a Flutter widget parser.
- Implementers
- AlignWidgetParser
- AppBarWidgetParser
- AspectRatioWidgetParser
- AssetImageWidgetParser
- BaselineWidgetParser
- CardParser
- CenterWidgetParser
- ClipRRectWidgetParser
- ColumnWidgetParser
- ContainerWidgetParser
- DividerWidgetParser
- DropCapTextParser
- ElevatedButtonParser
- ExpandedSizedBoxWidgetParser
- ExpandedWidgetParser
- FittedBoxWidgetParser
- GridViewWidgetParser
- IconWidgetParser
- IndexedStackWidgetParser
- LimitedBoxWidgetParser
- ListTileWidgetParser
- ListViewWidgetParser
- NetworkImageWidgetParser
- OffstageWidgetParser
- OpacityWidgetParser
- OverflowBoxWidgetParser
- PaddingWidgetParser
- PageViewWidgetParser
- PlaceholderWidgetParser
- PositionedWidgetParser
- RaisedButtonParser
- RotatedBoxWidgetParser
- RowWidgetParser
- SafeAreaWidgetParser
- ScaffoldWidgetParser
- SelectableTextWidgetParser
- SingleChildScrollViewParser
- SizedBoxWidgetParser
- StackWidgetParser
- TextButtonParser
- TextWidgetParser
- WrapWidgetParser
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widgetName → String
-
the widget type name for example:
{"type" : "Text", "data" : "Denny"}
if you want to make a flutter Text widget, you should implement this
method return "Text", for more details, please see
@TextWidgetParser
no setter
- widgetType → Type
-
match current widget
no setter
Methods
-
export(
Widget? widget, BuildContext? buildContext) → Map< String, dynamic> ? - export the runtime widget to json
-
matchWidgetForExport(
Widget? widget) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
Map< String, dynamic> map, BuildContext buildContext, ClickListener? listener) → Widget - parse the json map into a flutter widget.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited