// GENERATED CODE - DO NOT MODIFY BY HAND import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'intl/messages_all.dart'; // ************************************************************************** // Generator: Flutter Intl IDE plugin // Made by Localizely // ************************************************************************** // ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars // ignore_for_file: join_return_with_assignment, prefer_final_in_for_each // ignore_for_file: avoid_redundant_argument_values, avoid_escaping_inner_quotes class S { S(); static S? _current; static S get current { assert(_current != null, 'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.'); return _current!; } static const AppLocalizationDelegate delegate = AppLocalizationDelegate(); static Future load(Locale locale) { final name = (locale.countryCode?.isEmpty ?? false) ? locale.languageCode : locale.toString(); final localeName = Intl.canonicalizedLocale(name); return initializeMessages(localeName).then((_) { Intl.defaultLocale = localeName; final instance = S(); S._current = instance; return instance; }); } static S of(BuildContext context) { final instance = S.maybeOf(context); assert(instance != null, 'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?'); return instance!; } static S? maybeOf(BuildContext context) { return Localizations.of(context, S); } /// `By continuing, you agree to HissAi` String get By_continuing { return Intl.message( 'By continuing, you agree to HissAi', name: 'By_continuing', desc: '', args: [], ); } /// `User Agreement` String get User_Agreement { return Intl.message( 'User Agreement', name: 'User_Agreement', desc: '', args: [], ); } /// `and` String get and { return Intl.message( 'and', name: 'and', desc: '', args: [], ); } /// `Privacy Policy` String get Privacy_Policy { return Intl.message( 'Privacy Policy', name: 'Privacy_Policy', desc: '', args: [], ); } /// `Google` String get Google { return Intl.message( 'Google', name: 'Google', desc: '', args: [], ); } /// `Gallery` String get Gallery { return Intl.message( 'Gallery', name: 'Gallery', desc: '', args: [], ); } /// `Creation` String get Creation { return Intl.message( 'Creation', name: 'Creation', desc: '', args: [], ); } /// `Upload` String get Upload { return Intl.message( 'Upload', name: 'Upload', desc: '', args: [], ); } /// `Confirm submission` String get Confirm_submission { return Intl.message( 'Confirm submission', name: 'Confirm_submission', desc: '', args: [], ); } /// `Upload your work to the gallery, allowing more users to see your work` String get Upload_gallery { return Intl.message( 'Upload your work to the gallery, allowing more users to see your work', name: 'Upload_gallery', desc: '', args: [], ); } /// `Upload successful` String get Upload_successful { return Intl.message( 'Upload successful', name: 'Upload_successful', desc: '', args: [], ); } /// `Creation` String get Creation_ja { return Intl.message( 'Creation', name: 'Creation_ja', desc: '', args: [], ); } /// `Me` String get Me { return Intl.message( 'Me', name: 'Me', desc: '', args: [], ); } /// `Recommend` String get Recommend { return Intl.message( 'Recommend', name: 'Recommend', desc: '', args: [], ); } /// `Describe your vision in detail` String get Describe_in_detail { return Intl.message( 'Describe your vision in detail', name: 'Describe_in_detail', desc: '', args: [], ); } /// `for instance"girl, long hair, sit on the swing, garden, pastel colors, face specific"` String get for_instance { return Intl.message( 'for instance"girl, long hair, sit on the swing, garden, pastel colors, face specific"', name: 'for_instance', desc: '', args: [], ); } /// `The more detailed the more accurate ~` String get more_detailed { return Intl.message( 'The more detailed the more accurate ~', name: 'more_detailed', desc: '', args: [], ); } /// `Random Description` String get Random_Description { return Intl.message( 'Random Description', name: 'Random_Description', desc: '', args: [], ); } /// `Easy mode` String get Easy_mode { return Intl.message( 'Easy mode', name: 'Easy_mode', desc: '', args: [], ); } /// `Guide` String get guide { return Intl.message( 'Guide', name: 'guide', desc: '', args: [], ); } /// `Artist` String get Artist { return Intl.message( 'Artist', name: 'Artist', desc: '', args: [], ); } /// `Painting style` String get Painting_style { return Intl.message( 'Painting style', name: 'Painting_style', desc: '', args: [], ); } /// `Reference drawing` String get Reference_drawing { return Intl.message( 'Reference drawing', name: 'Reference_drawing', desc: '', args: [], ); } /// `AI will generate with reference to the pictures you upload` String get Will_refer { return Intl.message( 'AI will generate with reference to the pictures you upload', name: 'Will_refer', desc: '', args: [], ); } /// `Image scale` String get Image_scale { return Intl.message( 'Image scale', name: 'Image_scale', desc: '', args: [], ); } /// `Generate` String get Generate_painting { return Intl.message( 'Generate', name: 'Generate_painting', desc: '', args: [], ); } /// `Please fill in the description of the picture` String get Please_fill { return Intl.message( 'Please fill in the description of the picture', name: 'Please_fill', desc: '', args: [], ); } /// `Reference image description` String get Reference_image { return Intl.message( 'Reference image description', name: 'Reference_image', desc: '', args: [], ); } /// `Details` String get details { return Intl.message( 'Details', name: 'details', desc: '', args: [], ); } /// `Current progress` String get Current_progress { return Intl.message( 'Current progress', name: 'Current_progress', desc: '', args: [], ); } /// `Already copied` String get Already_copied { return Intl.message( 'Already copied', name: 'Already_copied', desc: '', args: [], ); } /// `Delete` String get Delete { return Intl.message( 'Delete', name: 'Delete', desc: '', args: [], ); } /// `Download` String get Download { return Intl.message( 'Download', name: 'Download', desc: '', args: [], ); } /// `Regenerate` String get Regenerate { return Intl.message( 'Regenerate', name: 'Regenerate', desc: '', args: [], ); } /// `Upload to gallery` String get share_to_gallery { return Intl.message( 'Upload to gallery', name: 'share_to_gallery', desc: '', args: [], ); } /// `Check in "Me" after the screen is created` String get Check_in { return Intl.message( 'Check in "Me" after the screen is created', name: 'Check_in', desc: '', args: [], ); } /// `Generate time` String get Generate_time { return Intl.message( 'Generate time', name: 'Generate_time', desc: '', args: [], ); } /// `Resolution` String get Resolution { return Intl.message( 'Resolution', name: 'Resolution', desc: '', args: [], ); } /// `Image too large` String get Image_too_large { return Intl.message( 'Image too large', name: 'Image_too_large', desc: '', args: [], ); } /// `Collect` String get collect { return Intl.message( 'Collect', name: 'collect', desc: '', args: [], ); } /// `Favorite` String get Favorite { return Intl.message( 'Favorite', name: 'Favorite', desc: '', args: [], ); } /// `Reference drawing redrawing degree` String get Reference_drawing_redrawing { return Intl.message( 'Reference drawing redrawing degree', name: 'Reference_drawing_redrawing', desc: '', args: [], ); } /// `Painting point` String get Painting_point { return Intl.message( 'Painting point', name: 'Painting_point', desc: '', args: [], ); } /// `Collected` String get Collected { return Intl.message( 'Collected', name: 'Collected', desc: '', args: [], ); } /// `My Works` String get My_Works { return Intl.message( 'My Works', name: 'My_Works', desc: '', args: [], ); } /// `Collection` String get Collection { return Intl.message( 'Collection', name: 'Collection', desc: '', args: [], ); } /// `Number of works` String get Number_works { return Intl.message( 'Number of works', name: 'Number_works', desc: '', args: [], ); } /// `Selects` String get Selects { return Intl.message( 'Selects', name: 'Selects', desc: '', args: [], ); } /// `Sort by` String get Sort_by { return Intl.message( 'Sort by', name: 'Sort_by', desc: '', args: [], ); } /// `Cancel` String get Cancel { return Intl.message( 'Cancel', name: 'Cancel', desc: '', args: [], ); } /// `Selected` String get Selected { return Intl.message( 'Selected', name: 'Selected', desc: '', args: [], ); } /// `Number of collections` String get Number_collections { return Intl.message( 'Number of collections', name: 'Number_collections', desc: '', args: [], ); } /// `Newest` String get Newest { return Intl.message( 'Newest', name: 'Newest', desc: '', args: [], ); } /// `Oldest` String get Oldest { return Intl.message( 'Oldest', name: 'Oldest', desc: '', args: [], ); } /// `Most favorite` String get Most_favorite { return Intl.message( 'Most favorite', name: 'Most_favorite', desc: '', args: [], ); } /// `Least Favorite` String get Least_Favorite { return Intl.message( 'Least Favorite', name: 'Least_Favorite', desc: '', args: [], ); } /// `The function is about to open, please stay tuned` String get The_function { return Intl.message( 'The function is about to open, please stay tuned', name: 'The_function', desc: '', args: [], ); } /// `Author` String get Author { return Intl.message( 'Author', name: 'Author', desc: '', args: [], ); } /// `Cost` String get Consume { return Intl.message( 'Cost', name: 'Consume', desc: '', args: [], ); } /// `point` String get point { return Intl.message( 'point', name: 'point', desc: '', args: [], ); } /// `Press again to exit` String get Press_again { return Intl.message( 'Press again to exit', name: 'Press_again', desc: '', args: [], ); } /// `Tip` String get Tip { return Intl.message( 'Tip', name: 'Tip', desc: '', args: [], ); } /// `Are you sure to permanently delete this work? \nAfter deletion, it will not be able to be retrieved` String get Are_you_sure { return Intl.message( 'Are you sure to permanently delete this work? \nAfter deletion, it will not be able to be retrieved', name: 'Are_you_sure', desc: '', args: [], ); } /// `Sure` String get Sure { return Intl.message( 'Sure', name: 'Sure', desc: '', args: [], ); } /// `Successfully saved` String get Successfully_saved { return Intl.message( 'Successfully saved', name: 'Successfully_saved', desc: '', args: [], ); } /// `Settings` String get Settings { return Intl.message( 'Settings', name: 'Settings', desc: '', args: [], ); } /// `About` String get About { return Intl.message( 'About', name: 'About', desc: '', args: [], ); } /// `The lower the value, the more like a reference image; the higher the value, the more creative` String get The_smaller { return Intl.message( 'The lower the value, the more like a reference image; the higher the value, the more creative', name: 'The_smaller', desc: '', args: [], ); } /// `Please select a work` String get Please_select { return Intl.message( 'Please select a work', name: 'Please_select', desc: '', args: [], ); } /// `1. The reference image file must be less than 10M.` String get The_reference { return Intl.message( '1. The reference image file must be less than 10M.', name: 'The_reference', desc: '', args: [], ); } /// `2. The smaller the redraw value of the reference image, the more similar it is to the original image.` String get The_smaller_the { return Intl.message( '2. The smaller the redraw value of the reference image, the more similar it is to the original image.', name: 'The_smaller_the', desc: '', args: [], ); } /// `3. Users are responsible for any legal disputes caused by reference images.` String get Users_are_responsible { return Intl.message( '3. Users are responsible for any legal disputes caused by reference images.', name: 'Users_are_responsible', desc: '', args: [], ); } /// `4. The final generated image will be reviewed, and images containing sensitive content will not be displayed.` String get The_final_generated { return Intl.message( '4. The final generated image will be reviewed, and images containing sensitive content will not be displayed.', name: 'The_final_generated', desc: '', args: [], ); } /// `5. Using the reference image function will consume 1 paint point.` String get Using_the_reference { return Intl.message( '5. Using the reference image function will consume 1 paint point.', name: 'Using_the_reference', desc: '', args: [], ); } /// `Insufficient drawing points` String get Insufficient_drawing_points { return Intl.message( 'Insufficient drawing points', name: 'Insufficient_drawing_points', desc: '', args: [], ); } /// `Draw again` String get Draw_another_picture { return Intl.message( 'Draw again', name: 'Draw_another_picture', desc: '', args: [], ); } /// `Draw the same` String get Draw_the_same { return Intl.message( 'Draw the same', name: 'Draw_the_same', desc: '', args: [], ); } /// `A colorful magic castle in a crystal ball` String get A_colorful { return Intl.message( 'A colorful magic castle in a crystal ball', name: 'A_colorful', desc: '', args: [], ); } /// `Brunette princess, crown on head, gorgeous, firefly, forest background, elegant` String get Brunette_princess { return Intl.message( 'Brunette princess, crown on head, gorgeous, firefly, forest background, elegant', name: 'Brunette_princess', desc: '', args: [], ); } /// `Beautiful angel, white wings, halo, long blonde hair, royal sister, queen temperament` String get Beautiful_angel { return Intl.message( 'Beautiful angel, white wings, halo, long blonde hair, royal sister, queen temperament', name: 'Beautiful_angel', desc: '', args: [], ); } /// `Rapeseed flowers bloom as far as the eye can see, a group of butterflies flying in the flowers` String get Rapeseed_flowers { return Intl.message( 'Rapeseed flowers bloom as far as the eye can see, a group of butterflies flying in the flowers', name: 'Rapeseed_flowers', desc: '', args: [], ); } /// `Long hair girl, sitting in the garden swing, flowers, soft colors, face close-up` String get Long_hair { return Intl.message( 'Long hair girl, sitting in the garden swing, flowers, soft colors, face close-up', name: 'Long_hair', desc: '', args: [], ); } /// `A close-up of a pretty girl's face, surrounded by halo, ethereal, romantic, dreamy, delicate` String get A_close { return Intl.message( 'A close-up of a pretty girl\'s face, surrounded by halo, ethereal, romantic, dreamy, delicate', name: 'A_close', desc: '', args: [], ); } /// `After rain, clear colors, sunshine, pink flowers, quiet, soft focus, chasing butterflies` String get After_rain { return Intl.message( 'After rain, clear colors, sunshine, pink flowers, quiet, soft focus, chasing butterflies', name: 'After_rain', desc: '', args: [], ); } /// `Distant mountains, sunsets, sunsets, meadows, flowers, canyons, rivers, houses` String get Distant_mountains { return Intl.message( 'Distant mountains, sunsets, sunsets, meadows, flowers, canyons, rivers, houses', name: 'Distant_mountains', desc: '', args: [], ); } /// `Snow mountain, forest, lake, sea of flowers, sun` String get Snow_mountain { return Intl.message( 'Snow mountain, forest, lake, sea of flowers, sun', name: 'Snow_mountain', desc: '', args: [], ); } /// `The stars, the ocean, the beach, the cabin` String get The_stars { return Intl.message( 'The stars, the ocean, the beach, the cabin', name: 'The_stars', desc: '', args: [], ); } /// `Random suggested words will overwrite what has been entered` String get Random_suggested { return Intl.message( 'Random suggested words will overwrite what has been entered', name: 'Random_suggested', desc: '', args: [], ); } /// `do you want to overwrite?` String get do_you { return Intl.message( 'do you want to overwrite?', name: 'do_you', desc: '', args: [], ); } /// `Cover` String get Cover { return Intl.message( 'Cover', name: 'Cover', desc: '', args: [], ); } /// `Save picture is full` String get Save_picture { return Intl.message( 'Save picture is full', name: 'Save_picture', desc: '', args: [], ); } /// `Free users can only save 10 pictures` String get Free_users { return Intl.message( 'Free users can only save 10 pictures', name: 'Free_users', desc: '', args: [], ); } /// `More pictures can be saved after paying` String get More_pictures { return Intl.message( 'More pictures can be saved after paying', name: 'More_pictures', desc: '', args: [], ); } /// `to pay` String get to_pay { return Intl.message( 'to pay', name: 'to_pay', desc: '', args: [], ); } /// `Mall` String get Mall { return Intl.message( 'Mall', name: 'Mall', desc: '', args: [], ); } /// `Message` String get message { return Intl.message( 'Message', name: 'message', desc: '', args: [], ); } /// `Are you sure to switch the subject type?` String get switch_the_subject { return Intl.message( 'Are you sure to switch the subject type?', name: 'switch_the_subject', desc: '', args: [], ); } /// `After confirmation, the subject type will be replaced with ` String get After_confirmation { return Intl.message( 'After confirmation, the subject type will be replaced with ', name: 'After_confirmation', desc: '', args: [], ); } /// `,and some unshared options will be cleared.` String get some_unshared { return Intl.message( ',and some unshared options will be cleared.', name: 'some_unshared', desc: '', args: [], ); } /// `The subject you want to paint` String get The_subject { return Intl.message( 'The subject you want to paint', name: 'The_subject', desc: '', args: [], ); } /// `What kind of images do you want to generate?` String get What_kind { return Intl.message( 'What kind of images do you want to generate?', name: 'What_kind', desc: '', args: [], ); } /// `Exit login` String get Exit_login { return Intl.message( 'Exit login', name: 'Exit_login', desc: '', args: [], ); } /// `Expand` String get Expand { return Intl.message( 'Expand', name: 'Expand', desc: '', args: [], ); } /// `Close` String get Close { return Intl.message( 'Close', name: 'Close', desc: '', args: [], ); } /// `Save` String get Save { return Intl.message( 'Save', name: 'Save', desc: '', args: [], ); } /// `Feedback` String get Feedback { return Intl.message( 'Feedback', name: 'Feedback', desc: '', args: [], ); } /// `problems encountered` String get problems_encountered { return Intl.message( 'problems encountered', name: 'problems_encountered', desc: '', args: [], ); } /// `Please describe in detail the problem you are experiencing` String get Please_describe { return Intl.message( 'Please describe in detail the problem you are experiencing', name: 'Please_describe', desc: '', args: [], ); } /// `Contact information` String get Contact_information { return Intl.message( 'Contact information', name: 'Contact_information', desc: '', args: [], ); } /// `Please enter your email so that we can contact you` String get Please_enter { return Intl.message( 'Please enter your email so that we can contact you', name: 'Please_enter', desc: '', args: [], ); } /// `Submit` String get Submit { return Intl.message( 'Submit', name: 'Submit', desc: '', args: [], ); } /// `Watch the full video` String get Watch_the { return Intl.message( 'Watch the full video', name: 'Watch_the', desc: '', args: [], ); } /// `Earn 1 paint point after watching 1 AD` String get Earn_paint { return Intl.message( 'Earn 1 paint point after watching 1 AD', name: 'Earn_paint', desc: '', args: [], ); } /// `Watch` String get Watch { return Intl.message( 'Watch', name: 'Watch', desc: '', args: [], ); } /// `Free` String get Free { return Intl.message( 'Free', name: 'Free', desc: '', args: [], ); } /// `There are currently no advertisements available` String get no_advertisements { return Intl.message( 'There are currently no advertisements available', name: 'no_advertisements', desc: '', args: [], ); } /// `received all the drawing points today` String get received_all { return Intl.message( 'received all the drawing points today', name: 'received_all', desc: '', args: [], ); } /// `Share` String get Share { return Intl.message( 'Share', name: 'Share', desc: '', args: [], ); } /// `Upload Gallery Pass Review Reward` String get Upload_the_painting { return Intl.message( 'Upload Gallery Pass Review Reward', name: 'Upload_the_painting', desc: '', args: [], ); } /// `paint points` String get Painting_points { return Intl.message( 'paint points', name: 'Painting_points', desc: '', args: [], ); } /// `Obtained after review` String get Obtained_after_review { return Intl.message( 'Obtained after review', name: 'Obtained_after_review', desc: '', args: [], ); } /// `Upload artwork to gallery` String get Upload_artwork_gallery { return Intl.message( 'Upload artwork to gallery', name: 'Upload_artwork_gallery', desc: '', args: [], ); } /// `To create` String get To_create { return Intl.message( 'To create', name: 'To_create', desc: '', args: [], ); } /// `Invitation code` String get Invitation_code { return Intl.message( 'Invitation code', name: 'Invitation_code', desc: '', args: [], ); } /// `In review` String get In_review { return Intl.message( 'In review', name: 'In_review', desc: '', args: [], ); } /// `Fill in the invitation code to send` String get Fill_in { return Intl.message( 'Fill in the invitation code to send', name: 'Fill_in', desc: '', args: [], ); } /// `New users send` String get New_users { return Intl.message( 'New users send', name: 'New_users', desc: '', args: [], ); } /// `Invite new users to fill in the invitation code, reward 10 paint points` String get Invite_new { return Intl.message( 'Invite new users to fill in the invitation code, reward 10 paint points', name: 'Invite_new', desc: '', args: [], ); } /// `Please fill in the invitation code` String get Please_fill_in { return Intl.message( 'Please fill in the invitation code', name: 'Please_fill_in', desc: '', args: [], ); } /// `Please wait for the generation to end` String get Please_wait { return Intl.message( 'Please wait for the generation to end', name: 'Please_wait', desc: '', args: [], ); } /// `uploaded` String get uploaded { return Intl.message( 'uploaded', name: 'uploaded', desc: '', args: [], ); } /// `Server is full, expect to queue for 10 mins, please wait` String get Waiting_in { return Intl.message( 'Server is full, expect to queue for 10 mins, please wait', name: 'Waiting_in', desc: '', args: [], ); } /// `Language switching` String get Language_switching { return Intl.message( 'Language switching', name: 'Language_switching', desc: '', args: [], ); } /// `You are about to start the account cancellation process.` String get Start_account_cancellation { return Intl.message( 'You are about to start the account cancellation process.', name: 'Start_account_cancellation', desc: '', args: [], ); } /// `After the account is cancelled, all your data will be deleted and cannot be recovered.` String get After_the_account_is_cancelled { return Intl.message( 'After the account is cancelled, all your data will be deleted and cannot be recovered.', name: 'After_the_account_is_cancelled', desc: '', args: [], ); } /// `Account Cancellation Request` String get Account_cancellation { return Intl.message( 'Account Cancellation Request', name: 'Account_cancellation', desc: '', args: [], ); } /// `Request for Account Cancellation` String get Request_cancellation { return Intl.message( 'Request for Account Cancellation', name: 'Request_cancellation', desc: '', args: [], ); } /// `Paint points are used according to options \nwhen generating paintings.` String get Paint_points { return Intl.message( 'Paint points are used according to options \nwhen generating paintings.', name: 'Paint_points', desc: '', args: [], ); } /// `Painting points never expire and can be \nused at any time.` String get Painting_points_never { return Intl.message( 'Painting points never expire and can be \nused at any time.', name: 'Painting_points_never', desc: '', args: [], ); } /// `Equity` String get obtaining_benefits { return Intl.message( 'Equity', name: 'obtaining_benefits', desc: '', args: [], ); } /// `Get 1 saved image after watching 1 advertisement` String get Get_saved { return Intl.message( 'Get 1 saved image after watching 1 advertisement', name: 'Get_saved', desc: '', args: [], ); } /// `Full Watch Video (Today` String get Full_Watch { return Intl.message( 'Full Watch Video (Today', name: 'Full_Watch', desc: '', args: [], ); } /// `Number of purchased images $` String get Number_of { return Intl.message( 'Number of purchased images \$', name: 'Number_of', desc: '', args: [], ); } /// `Number of saved images` String get Number_of_saved { return Intl.message( 'Number of saved images', name: 'Number_of_saved', desc: '', args: [], ); } /// `Search for influencers` String get Search_influential { return Intl.message( 'Search for influencers', name: 'Search_influential', desc: '', args: [], ); } /// `search` String get search { return Intl.message( 'search', name: 'search', desc: '', args: [], ); } /// `Recommended influencers` String get Recommended_influencers { return Intl.message( 'Recommended influencers', name: 'Recommended_influencers', desc: '', args: [], ); } /// `Exhibition of works` String get Exhibition_works { return Intl.message( 'Exhibition of works', name: 'Exhibition_works', desc: '', args: [], ); } /// `copy prompt word` String get copy_prompt_word { return Intl.message( 'copy prompt word', name: 'copy_prompt_word', desc: '', args: [], ); } /// `Painting parameters:` String get Painting_parameters { return Intl.message( 'Painting parameters:', name: 'Painting_parameters', desc: '', args: [], ); } /// `follow` String get follow { return Intl.message( 'follow', name: 'follow', desc: '', args: [], ); } /// `Followed` String get Followed { return Intl.message( 'Followed', name: 'Followed', desc: '', args: [], ); } /// `Featured` String get Expert_selection { return Intl.message( 'Featured', name: 'Expert_selection', desc: '', args: [], ); } /// `Popular` String get Popular { return Intl.message( 'Popular', name: 'Popular', desc: '', args: [], ); } /// `all` String get all { return Intl.message( 'all', name: 'all', desc: '', args: [], ); } /// `User details` String get User_details { return Intl.message( 'User details', name: 'User_details', desc: '', args: [], ); } /// `Liked:` String get Liked { return Intl.message( 'Liked:', name: 'Liked', desc: '', args: [], ); } /// `Fans:` String get Fans { return Intl.message( 'Fans:', name: 'Fans', desc: '', args: [], ); } /// `date sort` String get Date_sort { return Intl.message( 'date sort', name: 'Date_sort', desc: '', args: [], ); } /// `like sorting` String get Like_sorting { return Intl.message( 'like sorting', name: 'Like_sorting', desc: '', args: [], ); } /// `copy it` String get copy_it { return Intl.message( 'copy it', name: 'copy_it', desc: '', args: [], ); } } class AppLocalizationDelegate extends LocalizationsDelegate { const AppLocalizationDelegate(); List get supportedLocales { return const [ Locale.fromSubtags(languageCode: 'en'), Locale.fromSubtags(languageCode: 'ja'), Locale.fromSubtags(languageCode: 'zh'), ]; } @override bool isSupported(Locale locale) => _isSupported(locale); @override Future load(Locale locale) => S.load(locale); @override bool shouldReload(AppLocalizationDelegate old) => false; bool _isSupported(Locale locale) { for (var supportedLocale in supportedLocales) { if (supportedLocale.languageCode == locale.languageCode) { return true; } } return false; } }