onLocalizationsDelegates method

  1. @mustCallSuper
Iterable<LocalizationsDelegate>? onLocalizationsDelegates()

Returns the 'Localization Delegates' if any.

Implementation

@mustCallSuper
Iterable<LocalizationsDelegate<dynamic>>? onLocalizationsDelegates() sync* {
  if (localizationsDelegates != null) {
    yield* localizationsDelegates!;
  }
  if (inLocalizationsDelegates != null) {
    yield* inLocalizationsDelegates!();
  }
}