flutter_ink 0.1.1
flutter_ink: ^0.1.1 copied to clipboard
Flutter widgets for ink_dart, the pure Dart runtime for inkle's ink: a story controller, a story view and a debug view.
0.1.1 #
- A fuller library overview in the API reference.
- The example is now a runnable app (
example/, Android, iOS, macOS and web):cd example && flutter run.
0.1.0 #
First release: Flutter widgets for ink_dart.
StoryController, aChangeNotifieraround an ink_dartStory:- continues only when asked (
continueStory,continueMaximally), so external functions and variables can be set up first; - collects
lineswith their tags, and recordserrorsinstead of throwing; choose(continuing to the next choice by default),isEnded,clearTranscriptfor beat boundaries;toJsonandloadJson, in the C# runtime's save format;watch(name)turns a global variable into aValueListenable.
- continues only when asked (
StoryView: the story's lines and current choices in aListView, playing on when a choice is tapped;lineBuilderandchoiceBuilderreplace the defaultTextandTextButton.StoryDebugView: position, flow, turn, save size, variables, visit counts, turn indices, errors, and an optional profiler report.- Re-exports
package:ink_dart/ink_dart.dart. - Example app with a story beside its debug view.