FeedbackLocalizations class abstract
Localisation strings for flutter_feedback_kit widgets.
To add a language, extend FeedbackLocalizations and register the delegate:
MaterialApp(
localizationsDelegates: [
FeedbackLocalizationsDelegate.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
supportedLocales: FeedbackLocalizationsDelegate.supportedLocales,
)
Or pass a custom instance directly to FeedbackWidget.localizations.
Constructors
- FeedbackLocalizations()
-
const
Properties
- annotationDiscardLabel → String
-
no setter
- annotationSaveLabel → String
-
no setter
- annotationUndoTooltip → String
-
no setter
- captureScreenLabel → String
-
no setter
- categoryLabel → String
-
no setter
- chooseFromGalleryLabel → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageLabel → String
-
no setter
- messagePlaceholder → String
-
no setter
- messageRequired → String
-
no setter
- microphoneNotAvailable → String
-
no setter
- npsQuestion → String
-
no setter
- queuedMessage → String
-
no setter
- ratingLabel → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenshotLabel → String
-
no setter
- sendingLabel → String
-
no setter
- stopListeningTooltip → String
-
no setter
- submitLabel → String
-
no setter
- successMessage → String
-
no setter
- voiceInputTooltip → String
-
no setter
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
Static Methods
-
of(
BuildContext context) → FeedbackLocalizations - Resolves from the widget tree, falling back to English.