TranslationProvider constructor

const TranslationProvider({
  1. Key? key,
  2. TranslationDelegate? delegate,
  3. Object? defaultLocale,
  4. bool connection = false,
  5. bool listening = false,
  6. bool notifiable = false,
  7. bool showLogs = false,
  8. Iterable supportedLocales = const [],
  9. Set<String>? paths,
  10. VoidCallback? onReady,
  11. required Widget child,
})

Implementation

const TranslationProvider({
  super.key,
  this.delegate,
  this.defaultLocale,
  this.connection = false,
  this.listening = false,
  this.notifiable = false,
  this.showLogs = false,
  this.supportedLocales = const [],
  this.paths,
  this.onReady,
  required this.child,
});