BaseOptions class abstract
Defines number system variations (hypothetical). Base class for language-specific number formatting options.
Provides common options applicable across multiple languages. Language-specific implementations should extend this class to add their unique options.
- Implementers
- AfOptions
- AmOptions
- ArOptions
- AzOptions
- BeOptions
- BgOptions
- BnOptions
- BsOptions
- CsOptions
- DaOptions
- DeOptions
- ElOptions
- EnOptions
- EsOptions
- FaOptions
- FilOptions
- FiOptions
- FrOptions
- HaOptions
- HeOptions
- HiOptions
- HrOptions
- HuOptions
- HyOptions
- IdOptions
- IgOptions
- IsOptions
- ItOptions
- JaOptions
- KaOptions
- KkOptions
- KmOptions
- KoOptions
- KyOptions
- LoOptions
- LtOptions
- LvOptions
- MkOptions
- MnOptions
- MsOptions
- MtOptions
- MyOptions
- NeOptions
- NlOptions
- NoOptions
- PlOptions
- PtOptions
- RoOptions
- RuOptions
- SiOptions
- SkOptions
- SlOptions
- SqOptions
- SrOptions
- SvOptions
- SwOptions
- TaOptions
- TgOptions
- ThOptions
- TkOptions
- TrOptions
- UkOptions
- UrOptions
- UzOptions
- ViOptions
- XhOptions
- YoOptions
- ZhOptions
- ZuOptions
Constructors
- BaseOptions({bool currency = false, DecimalSeparator? decimalSeparator, GrammaticalCase? caseValue, Format? format, bool round = false})
-
const
Properties
- caseValue → GrammaticalCase?
-
Specifies the desired grammatical case for the resulting number words.
Relevant only for languages with significant noun/adjective declension.
If
null, the default case (usually Nominative) is used. See GrammaticalCase.final - currency → bool
-
If
true, triggers currency formatting logic within the language converter. This typically involves using the currency unit names defined in the correspondingXxxOptions.currencyInfoand applying specific currency rules (like subunit handling). Defaults tofalse.final - decimalSeparator → DecimalSeparator?
-
Specifies the expected decimal separator symbol in the input, which determines
the corresponding separator word used in the output (e.g., "point", "comma", "virgule").
If
null, the language converter might use a default separator. See DecimalSeparator.final - format → Format?
-
Specifies a special formatting context (e.g., year).
If
null, standard cardinal number conversion is performed. See Format.final - hashCode → int
-
The hash code for this object.
no setterinherited
- round → bool
-
If
true, the number might be rounded before conversion, typically to the number of decimal places relevant for the currency's subunit when currency is alsotrue. The exact rounding behavior depends on the language implementation. Defaults tofalse.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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