Draft Configuration on Flutter
Drafts are enabled by default, asks the user to save a draft before leave any VideoEditor screen.
Usage
Specify instance of DraftsConfig in FeaturesConfig builder to change drafts configuration:
final config = FeaturesConfigBuilder()
.setDraftConfig(DraftsConfig.fromOption(DraftsOption.auto))
...
.build();
Options
DraftsOption.askToSave- drafts enabled, asks the user to save a draftDraftsOption.auto- drafts enabled, saved by default without asking the userDraftsOption.closeOnSave- drafts enabled, asks the user to save a draft without exportDraftsOption.disable- disabled drafts