craftd_widget 1.0.0 craftd_widget: ^1.0.0 copied to clipboard
Create dynamic form screens using Server Driven UI concepts using CraftD
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add craftd_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
craftd_widget: ^1.0.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:craftd_widget/craftd_widget.export.dart';
import 'package:craftd_widget/data/model/action/action_properties.dart';
import 'package:craftd_widget/data/model/action/analytics_properties.dart';
import 'package:craftd_widget/data/model/base/simple_properties.dart';
import 'package:craftd_widget/data/model/button/button_properties.dart';
import 'package:craftd_widget/data/model/empty/empty_properties.dart';
import 'package:craftd_widget/data/model/text/text_properties.dart';
import 'package:craftd_widget/domain/craftd_align.dart';
import 'package:craftd_widget/presentation/builder/craftd_builder.dart';
import 'package:craftd_widget/presentation/builder/craftd_builder_manager.dart';
import 'package:craftd_widget/presentation/craftd_view_listener.dart';
import 'package:craftd_widget/presentation/ui/button/craftd_button.dart';
import 'package:craftd_widget/presentation/ui/button/craftd_button_builder.dart';
import 'package:craftd_widget/presentation/ui/craftd_dynamic.dart';
import 'package:craftd_widget/presentation/ui/empty/craftd_empty.dart';
import 'package:craftd_widget/presentation/ui/empty/craftd_empty_builder.dart';
import 'package:craftd_widget/presentation/ui/helper/craftd_colors.dart';
import 'package:craftd_widget/presentation/ui/text/craftd_text.dart';
import 'package:craftd_widget/presentation/ui/text/craftd_text_builder.dart';