StudioLocalizations class abstract

What Studio's parts say on their own that ui_core's words do not hold: counts, each a real plural (one row, two rows), never a number glued to a noun.

English ships (DefaultStudioLocalizations). An app in another language extends it, words each count in its language's plural forms (one, few, many, other as the language has them), and adds a delegate that loads its subclass, as it does for WidgetsLocalizations. With none installed the parts speak English.

Text(StudioLocalizations.of(context).rowCount(rows.length))
Implementers

Constructors

StudioLocalizations()
Const constructor, for subclasses.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
rowCount(int count) → String
How many rows a table holds after its filter: "1 row", "12 rows".
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) → StudioLocalizations
The words in force at context: the installed delegate's, else English.

Constants

delegate → const LocalizationsDelegate<StudioLocalizations>
Loads Studio's English words for any locale, so the parts never go without words; an app in another language adds its own delegate before it.