openCreatorFieldsEditor method

Future<void> openCreatorFieldsEditor()

application for editing fields.

Implementation

Future<void> openCreatorFieldsEditor() async {
  List<String> decks = await getDecks();

  await Navigator.push(
    _navigatorKey.currentContext!,
    PageRouteBuilder(
      pageBuilder: (context, animation1, animation2) => CreatorPage(
        decks: decks,
        editEnhancements: false,
        editFields: true,
        killOnPop: false,
        subtitles: null,
      ),
      transitionDuration: Duration.zero,
      reverseTransitionDuration: Duration.zero,
    ),
  );
}