LogViewerStringsDelegate class final

LogViewerStrings delegate for localizationsDelegates: stringsFor picks the strings for the app's locale. Supports any locale: stringsFor is responsible for the translation.

Inheritance

Constructors

LogViewerStringsDelegate(LogViewerStrings stringsFor(Locale locale))
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
stringsFor → LogViewerStrings Function(Locale locale)
final
type → Type
The type of the object returned by the load method, T by default.
no setterinherited

Methods

isSupported(Locale locale) → bool
Whether resources for the given locale can be loaded by this delegate.
override
load(Locale locale) → Future<LogViewerStrings>
Start loading the resources for locale. The returned future completes when the resources have finished loading.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldReload(covariant LogViewerStringsDelegate old) → bool
Reload when the picker function changes: a delegate with a different function yields different strings.
override
toString() → String
A string representation of this object.
inherited

Operators

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