PlinthStrings class
Every string the library falls back on, as fields.
A plain class rather than a generated message bundle, so overriding
one string is a copyWith and not a build step. Names say what the
string is for, not what it currently says, because the English is
the part expected to change.
- Annotations
Constructors
- PlinthStrings({String dismissAlert = 'Dismiss alert', String dismissNotification = 'Dismiss notification', String closeDialog = 'Close dialog', String previousSlide = 'Previous slide', String nextSlide = 'Next slide', String clearSearch = 'Clear search', String clearSelection = 'Clear selection', String clearAllSelections = 'Clear all selections', String clearAllTags = 'Clear all tags', String clearSelectedFiles = 'Clear selected files', String clearColor = 'Clear colour', String chooseColor = 'Choose colour', String saturationAndBrightness = 'Saturation and brightness', String opacity = 'Opacity', String hue = 'Hue', String angle = 'Angle', String rating = 'Rating', String resizeWindow = 'Resize window', String decrease = 'Decrease', String increase = 'Increase', String passwordStrength = 'Password strength'})
-
const
Properties
- angle → String
-
final
- chooseColor → String
-
final
- clearAllSelections → String
-
final
- clearAllTags → String
-
final
- clearColor → String
-
Spelled
colourin the English defaults andcolorin the field name, on purpose: the API is Dart, which spells itColor, and the string is prose, which the rest of this library spells in British English. A caller overriding it chooses either.final - clearSearch → String
-
final
- clearSelectedFiles → String
-
final
- clearSelection → String
-
final
- closeDialog → String
-
final
- decrease → String
-
final
- dismissAlert → String
-
final
- dismissNotification → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hue → String
-
final
- increase → String
-
final
- nextSlide → String
-
final
- opacity → String
-
final
- passwordStrength → String
-
final
- previousSlide → String
-
final
- rating → String
-
final
- resizeWindow → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saturationAndBrightness → String
-
final
Methods
-
copyWith(
{String? dismissAlert, String? dismissNotification, String? closeDialog, String? previousSlide, String? nextSlide, String? clearSearch, String? clearSelection, String? clearAllSelections, String? clearAllTags, String? clearSelectedFiles, String? clearColor, String? chooseColor, String? saturationAndBrightness, String? opacity, String? hue, String? angle, String? rating, String? resizeWindow, String? decrease, String? increase, String? passwordStrength}) → PlinthStrings -
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.
override