Inheritance
System.Object
Localizations
public class Localizations : StatefulWidget
Constructors
Declaration
public Localizations(Key key = null, Locale locale = null, List<LocalizationsDelegate> delegates = null, Widget child = null)
Parameters
Fields
Declaration
public readonly Widget child
Field Value
Declaration
public readonly List<LocalizationsDelegate> delegates
Field Value
Declaration
public readonly Locale locale
Field Value
Methods
_delegatesOf(BuildContext)
Declaration
public static List<LocalizationsDelegate> _delegatesOf(BuildContext context)
Parameters
Returns
Declaration
public override State createState()
Returns
Overrides
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
localeOf(BuildContext, Boolean)
Declaration
public static Locale localeOf(BuildContext context, bool nullOk = false)
Parameters
Type |
Name |
Description |
BuildContext |
context |
|
System.Boolean |
nullOk |
|
Returns
of<T>(BuildContext, Type)
Declaration
public static T of<T>(BuildContext context, Type type)
Parameters
Returns
Type Parameters
overrides(Key, BuildContext, Locale, List<LocalizationsDelegate>, Widget)
Declaration
public static Localizations overrides(Key key = null, BuildContext context = null, Locale locale = null, List<LocalizationsDelegate> delegates = null, Widget child = null)
Parameters
Returns