ui backbone

This commit is contained in:
Mehul Ahal 2022-12-20 21:52:24 +01:00
parent 3e374d24f6
commit b7045fc242
24 changed files with 918 additions and 73 deletions

View file

@ -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")
};
}

View file

@ -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> {

View file

@ -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"
}