LocaleOptions class

Implementers
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

LocaleOptions({String? baseName, String? calendar, LocaleCollationCaseFirst? caseFirst, String? collation, LocaleHourCycleKey? hourCycle, String? language, String? numberingSystem, bool? numeric, String? region, String? script})
factory

Properties

baseName String?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

A string containing the language, and the script and region if available.
getter/setter pair
calendar String?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

The part of the Locale that indicates the locale's calendar era.
getter/setter pair
caseFirst LocaleCollationCaseFirst?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

Flag that defines whether case is taken into account for the locale's collation rules.
getter/setter pair
collation String?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

The collation type used for sorting
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hourCycle LocaleHourCycleKey?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

The time keeping format convention used by the locale.
getter/setter pair
language String?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

The primary language subtag associated with the locale.
getter/setter pair
numberingSystem String?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

The numeral system used by the locale.
getter/setter pair
numeric bool?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

Flag that defines whether the locale has special collation handling for numeric characters.
getter/setter pair
region String?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

The region of the world (usually a country) associated with the locale. Possible values are region codes as defined by ISO 3166-1.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script String?

Available on LocaleOptions, provided by the LocaleOptions$Typings extension

The script used for writing the particular language used in the locale. Possible values are script codes as defined by ISO 15924.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited