templates/provider/main_provider library

Functions

generateMainFile(GeneratorConfig config, String projectName, String state) → dynamic
Generates the main.dart entry file based on the given GeneratorConfig. If localization is enabled, it generates a localized main file, otherwise a basic provider setup.