Fluent2Localizations class abstract
The words only Fluent 2's parts say when the caller gives none; the words
every look shares (Cancel, Close, Today) are DesignLocalizations'.
English ships (Fluent2LocalizationsEn); another language is a subclass
and a delegate that loads it, listed before delegate (the first delegate
for a locale wins). With no delegate installed, the parts speak English.
MaterialApp(localizationsDelegates: const [Fluent2Localizations.delegate], home: home)
- Implementers
Constructors
- Fluent2Localizations()
-
Const constructor, for subclasses.
const
Properties
- addPeople → String
-
A tag picker's empty words.
no setter
- am → String
-
The morning half of a twelve-hour clock.
no setter
- attachFile → String
-
A composer's attachment button.
no setter
-
A breadcrumb trail's name.
no setter
- browseFiles → String
-
A file drop zone's button.
no setter
- chooseDate → String
-
A date picker's title.
no setter
- chooseDates → String
-
A date range picker's title.
no setter
- chooseTime → String
-
A time picker's title.
no setter
-
A nav pane's button that narrows it.
no setter
- copy → String
-
A field's menu: copy the selection.
no setter
- create → String
-
A create button's name when it has none.
no setter
- cut → String
-
A field's menu: cut the selection.
no setter
- decrease → String
-
A number stepper's less button.
no setter
- dismiss → String
-
What dismisses a notice or a bar.
no setter
- dropFiles → String
-
A file drop zone's words.
no setter
- emoji → String
-
A composer's emoji button.
no setter
- error → String
-
An error message's glyph, to a screen reader.
no setter
-
A nav pane's button that widens it.
no setter
- filters → String
-
A search bar's filter button.
no setter
- gotIt → String
-
A teaching popover's acknowledging button.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hexColor → String
-
A colour picker's name for the hex field.
no setter
- hour → String
-
A time picker's hour.
no setter
- increase → String
-
A number stepper's more button.
no setter
- information → String
-
An info message's glyph, to a screen reader.
no setter
- lookUp → String
-
A field's menu: look the selection up.
no setter
-
A menu's name when it has no title.
no setter
- message → String
-
A composer's name.
no setter
- minute → String
-
A time picker's minute.
no setter
-
months
→ List<
String> -
The day's name, for a DateTime.weekday (Monday is 1).
no setter
-
monthsShort
→ List<
String> -
The three-letter months, January first.
no setter
- morePlaces → String
-
A folded breadcrumb's button.
no setter
- newItem → String
-
A new item's dot, to a screen reader.
no setter
- nextSlide → String
-
A carousel's next slide.
no setter
- notifications → String
-
The notifications region (F6 reaches it).
no setter
- opensCalendar → String
-
A date field's hint that it opens a calendar.
no setter
- opensList → String
-
A select's hint that it opens a list.
no setter
- opensMenu → String
-
A button's hint that it opens a menu.
no setter
- opensSearch → String
-
A search bar's hint that it opens search.
no setter
- other → String
-
A chart's folded rest.
no setter
- paste → String
-
A field's menu: paste.
no setter
- pause → String
-
A carousel's pause button.
no setter
- play → String
-
A carousel's play button.
no setter
- pm → String
-
The afternoon half of a twelve-hour clock.
no setter
- popover → String
-
A tree's and a popover's name when it has no title.
no setter
- previousSlide → String
-
A carousel's previous slide.
no setter
- profileAndSettings → String
-
An app bar's account button.
no setter
- progress → String
-
A progress indicator's name when it has none.
no setter
- removeAction → String
-
A removable tag's screen-reader action.
no setter
- reorder → String
-
A reorderable row's handle.
no setter
- row → String
-
A table's generic word for an unnamed row.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scanText → String
-
A field's menu: scan text with the camera.
no setter
- searchWeb → String
-
A field's menu: search the web for the selection.
no setter
- selectADate → String
-
A date field's words before a date is chosen.
no setter
- selectAll → String
-
A field's menu: select everything.
no setter
- selectAllRows → String
-
A table's select-all box.
no setter
- selectAnOption → String
-
A select's words before anything is chosen.
no setter
- send → String
-
A message's send button.
no setter
-
A field's menu: share the selection.
no setter
- success → String
-
A success message's glyph, to a screen reader.
no setter
- teachingTip → String
-
A teaching popover's scrim, to a screen reader.
no setter
- toolbar → String
-
A toolbar's name.
no setter
- trend → String
-
A sparkline's name when it has none.
no setter
- tryAgain → String
-
The error state's way to try again.
no setter
- typeAMessage → String
-
A composer's empty words.
no setter
- warning → String
-
A warning message's glyph, to a screen reader.
no setter
-
weekdaysShort
→ List<
String> -
Two-letter weekdays, Monday first.
no setter
Methods
-
accountSettings(
String name) → String -
A nav pane's account button, named
name. -
backTo(
String where) → String -
What goes back to the page called
where. -
currentPage(
String label) → String - A breadcrumb's last item.
-
fullDate(
DateTime date) → String -
datein full ("March 4, 2026"). -
informationAbout(
String label) → String -
An info button beside the field
label. -
monthYear(
DateTime date) → String - A month and year ("March 2026").
-
moreOptionsFor(
String label) → String -
The overflow half of a split button for
label. -
morePlacesCount(
int count) → String - A folded breadcrumb's name, with how many places it holds.
-
namesAndMore(
String names, int more) → String -
An avatar group to a screen reader: the
namesit shows and themoreit folds into its "+N" ("Ana, Kai and 3 more"). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notificationsUnread(
int count) → String -
The notifications button with
countunread. -
pageNumber(
int page) → String - A page's number in a pager.
-
pageOf(
int page, int count) → String -
A pager's or stepper's place,
pageofcount. -
ratedOutOf(
String value, int max) → String -
A rating's score to a screen reader:
valueofmaxstars ("Rated 4.5 out of 5"). -
ratingsCount(
int count, String counted) → String -
How many scores a rating is made of ("1 rating", "1,204 ratings"):
countediscountas the locale writes its numbers. -
ratingValue(
String value, int max) → String -
A rating input's value,
valueofmaxstars ("3 of 5"). -
remove(
String label) → String -
A removable tag's button for
label. -
removeFile(
String name) → String -
A file's remove button, for the file called
name. -
selectRow(
String label) → String -
A table row's box, for the row called
label. -
shortDate(
DateTime date) → String -
dateas a month and day ("Mar 4, 2026"). -
sortBy(
String column) → String - A sortable column's header.
-
stepOf(
int step, int steps) → String - A teaching popover's step.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → Fluent2Localizations -
The words in force at
context: the installed delegate's, else English.
Constants
-
delegate
→ const LocalizationsDelegate<
Fluent2Localizations> - Loads Fluent 2's English words in any locale, so an app in another language installs it without a warning and its parts speak English until it gives them words of its own.