setup method

Future<void> setup({
  1. bool overwrite = false,
  2. bool runFlutterCommands = true,
  3. String? appFilePath,
})

Sets up localization support for the current Flutter project.

Delegates to generate to configure and generate localization files.

Implementation

Future<void> setup({
  bool overwrite = false,
  bool runFlutterCommands = true,
  String? appFilePath,
}) async {
  await generate(
    overwrite: overwrite,
    runFlutterCommands: runFlutterCommands,
    appFilePath: appFilePath,
  );
}