LocalizationProvider constructor

const LocalizationProvider({
  1. Key? key,
  2. required Widget child,
  3. required LocalizationManager localizationManager,
})

Constructs a LocalizationProvider that exposes localizationManager to its descendants.

key Identifies this widget in the widget tree. child The widget below this widget in the tree that can access the provided localizationManager. localizationManager The single instance of LocalizationManager to be provided to all dependent widgets.

Implementation

const LocalizationProvider(
    {super.key, required super.child, required this.localizationManager});