import 'package:easy_localization/easy_localization.dart'; import '../startup.dart'; class InitLocalizationTask extends LaunchTask { const InitLocalizationTask(); @override Future initialize(LaunchContext context) async { await EasyLocalization.ensureInitialized(); EasyLocalization.logger.enableBuildModes = []; } @override Future dispose() async {} }