LocalizationProvider constructor
const
LocalizationProvider({
- Key? key,
- required Widget child,
- 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});