dash_deck 0.0.1-dev.0 dash_deck: ^0.0.1-dev.0 copied to clipboard
Presentation Slides for Flutter Developers with Flutter.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate dash_deck
Use it
The package has the following executables:
$ watcher
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dash_deck
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dash_deck: ^0.0.1-dev.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:dash_deck/builders/code_preview_builder.dart';
import 'package:dash_deck/builders/emitter.dart';
import 'package:dash_deck/builders/library_builder.dart';
import 'package:dash_deck/builders/slide_data_builder.dart';
import 'package:dash_deck/builders/widget_builder.dart';
import 'package:dash_deck/helpers/constants.dart';
import 'package:dash_deck/helpers/exceptions.dart';
import 'package:dash_deck/helpers/loader.dart';
import 'package:dash_deck/helpers/mappers.dart';
import 'package:dash_deck/helpers/slides_parser.dart';
import 'package:dash_deck/models/code_snippet.model.dart';
import 'package:dash_deck/models/slide_data.model.dart';
import 'package:dash_deck/models/slide_options.model.dart';
import 'package:dash_deck/showtime.dart';