story_dart 0.0.1 story_dart: ^0.0.1 copied to clipboard
XML-based Story Format Processor
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add story_dart
With Flutter:
$ flutter pub add story_dart
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
story_dart: ^0.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:story_dart/parser.dart';
import 'package:story_dart/parser/xml_body.dart';
import 'package:story_dart/parser/xml_codable.dart';
import 'package:story_dart/parser/xml_node.dart';
import 'package:story_dart/project.dart';
import 'package:story_dart/project/character.dart';
import 'package:story_dart/project/resource.dart';
import 'package:story_dart/project/scene.dart';
import 'package:story_dart/project/variable/boolean_variable.dart';
import 'package:story_dart/project/variable/character_variable.dart';
import 'package:story_dart/project/variable/global_variable.dart';
import 'package:story_dart/project/variable/int_variable.dart';
import 'package:story_dart/project/variable/string_variable.dart';
import 'package:story_dart/project/variable/variable.dart';
import 'package:story_dart/story.dart';
import 'package:story_dart/story/audio.dart';
import 'package:story_dart/story/background.dart';
import 'package:story_dart/story/base.dart';
import 'package:story_dart/story/character.dart';
import 'package:story_dart/story/choice.dart';
import 'package:story_dart/story/condition.dart';
import 'package:story_dart/story/delay.dart';
import 'package:story_dart/story/dialog.dart';
import 'package:story_dart/story/dialog_body.dart';
import 'package:story_dart/story/execute.dart';
import 'package:story_dart/story/intent.dart';
import 'package:story_dart/story/monolog.dart';
import 'package:story_dart/story/overlay.dart';
import 'package:story_dart/story/scene.dart';
import 'package:story_dart/story/variable/boolean_variable.dart';
import 'package:story_dart/story/variable/int_conditional.dart';
import 'package:story_dart/story/variable/int_expression.dart';
import 'package:story_dart/story/variable/int_variable.dart';
import 'package:story_dart/story/variable/string_conditional.dart';
import 'package:story_dart/story/variable/string_variable.dart';
import 'package:story_dart/story/variable/variable.dart';