ui backbone
This commit is contained in:
parent
3e374d24f6
commit
b7045fc242
24 changed files with 918 additions and 73 deletions
|
@ -22,8 +22,12 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"gallery": MessageLookupByLibrary.simpleMessage("Gallery"),
|
||||
"image": MessageLookupByLibrary.simpleMessage("Image"),
|
||||
"imageCarousel": MessageLookupByLibrary.simpleMessage("Image carousel"),
|
||||
"somethingWentWrong":
|
||||
MessageLookupByLibrary.simpleMessage("Something went wrong")
|
||||
MessageLookupByLibrary.simpleMessage("Something went wrong"),
|
||||
"startLoadingPrompt":
|
||||
MessageLookupByLibrary.simpleMessage("Press me to start loading")
|
||||
};
|
||||
}
|
||||
|
|
|
@ -69,6 +69,36 @@ class Strings {
|
|||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Gallery`
|
||||
String get gallery {
|
||||
return Intl.message(
|
||||
'Gallery',
|
||||
name: 'gallery',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Press me to start loading`
|
||||
String get startLoadingPrompt {
|
||||
return Intl.message(
|
||||
'Press me to start loading',
|
||||
name: 'startLoadingPrompt',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Image carousel`
|
||||
String get imageCarousel {
|
||||
return Intl.message(
|
||||
'Image carousel',
|
||||
name: 'imageCarousel',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class AppLocalizationDelegate extends LocalizationsDelegate<Strings> {
|
||||
|
|
|
@ -2,5 +2,10 @@
|
|||
"@@locale": "en",
|
||||
"somethingWentWrong": "Something went wrong",
|
||||
|
||||
"image": "Image"
|
||||
"image": "Image",
|
||||
|
||||
"gallery": "Gallery",
|
||||
"startLoadingPrompt": "Press me to start loading",
|
||||
|
||||
"imageCarousel": "Image carousel"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue