puzzle 0.1.0-beta.2 puzzle: ^0.1.0-beta.2 copied to clipboard
Visual XAML for Dart/Flutter, Use puzzle for developing visual dart/flutter app.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate puzzle
Use it
The package has the following executables:
$ puzzle
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add puzzle
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
puzzle: ^0.1.0-beta.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:puzzle/main.dart';
import 'package:puzzle/metadata.dart';
import 'package:puzzle/transform.dart';
import 'package:puzzle/utils.dart';
import 'package:puzzle/xdml/app.dart';
import 'package:puzzle/xdml/base.dart';
import 'package:puzzle/xdml/binding.dart';
import 'package:puzzle/xdml/index.dart';
import 'package:puzzle/xdml/paths.dart';
import 'package:puzzle/xdml/source.dart';
import 'package:puzzle/xdml/vnode.dart';