simple_widget_markup 1.2.0 simple_widget_markup: ^1.2.0 copied to clipboard
The simple widget markup language converter. Easily create text and screen layouts.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simple_widget_markup
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
simple_widget_markup: ^1.2.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simple_widget_markup/element/block_element.dart';
import 'package:simple_widget_markup/element/col_element.dart';
import 'package:simple_widget_markup/element/element_child.dart';
import 'package:simple_widget_markup/element/element_param.dart';
import 'package:simple_widget_markup/element/enum_spwml_element_param.dart';
import 'package:simple_widget_markup/element/enum_spwml_element_type.dart';
import 'package:simple_widget_markup/element/href_element.dart';
import 'package:simple_widget_markup/element/img_element.dart';
import 'package:simple_widget_markup/element/line_element.dart';
import 'package:simple_widget_markup/element/row_element.dart';
import 'package:simple_widget_markup/element/scroll_element.dart';
import 'package:simple_widget_markup/element/span_element.dart';
import 'package:simple_widget_markup/element/spwml_element.dart';
import 'package:simple_widget_markup/element/spwml_font_style.dart';
import 'package:simple_widget_markup/element/spwml_font_style_material.dart';
import 'package:simple_widget_markup/element/stack_element.dart';
import 'package:simple_widget_markup/element/text_element.dart';
import 'package:simple_widget_markup/element/util_element.dart';
import 'package:simple_widget_markup/element/vline_element.dart';
import 'package:simple_widget_markup/spwml.dart';
import 'package:simple_widget_markup/spwml_builder.dart';
import 'package:simple_widget_markup/spwml_exception.dart';
import 'package:simple_widget_markup/spwml_parser.dart';
import 'package:simple_widget_markup/util_parser.dart';