repo_id
stringlengths 21
168
| file_path
stringlengths 36
210
| content
stringlengths 1
9.98M
| __index_level_0__
int64 0
0
|
---|---|---|---|
mirrored_repositories/app_store/lib/generated | mirrored_repositories/app_store/lib/generated/locale/data.dart | import 'package:yatl_gen/yatl_gen.dart';
part './data/pl-PL.g.dart';
part './data/ru-RU.g.dart';
part './data/ro-RO.g.dart';
part './data/fr-FR.g.dart';
part './data/he-IL.g.dart';
part './data/de-CH.g.dart';
part './data/ar-SA.g.dart';
part './data/cs-CZ.g.dart';
part './data/it-IT.g.dart';
part './data/pt-PT.g.dart';
part './data/uk-UA.g.dart';
part './data/no-NO.g.dart';
part './data/sv-SE.g.dart';
part './data/zh-CN.g.dart';
part './data/nl-NL.g.dart';
part './data/pt-BR.g.dart';
part './data/el-GR.g.dart';
part './data/ja-JP.g.dart';
part './data/de-AT.g.dart';
part './data/es-ES.g.dart';
part './data/nl-BE.g.dart';
part './data/hr-HR.g.dart';
part './data/fi-FI.g.dart';
part './data/da-DK.g.dart';
part './data/de-DE.g.dart';
part './data/en-US.g.dart';
class GeneratedLocales extends Locales {
const GeneratedLocales()
: super(
locales: const [
_$PlPLLocaleData._(),
_$RuRULocaleData._(),
_$RoROLocaleData._(),
_$FrFRLocaleData._(),
_$HeILLocaleData._(),
_$DeCHLocaleData._(),
_$ArSALocaleData._(),
_$CsCZLocaleData._(),
_$ItITLocaleData._(),
_$PtPTLocaleData._(),
_$UkUALocaleData._(),
_$NoNOLocaleData._(),
_$SvSELocaleData._(),
_$ZhCNLocaleData._(),
_$NlNLLocaleData._(),
_$PtBRLocaleData._(),
_$ElGRLocaleData._(),
_$JaJPLocaleData._(),
_$DeATLocaleData._(),
_$EsESLocaleData._(),
_$NlBELocaleData._(),
_$HrHRLocaleData._(),
_$FiFILocaleData._(),
_$DaDKLocaleData._(),
_$DeDELocaleData._(),
_$EnUSLocaleData._(),
],
);
}
| 0 |
mirrored_repositories/app_store/lib/generated | mirrored_repositories/app_store/lib/generated/locale/strings.dart | import 'package:yatl_gen/yatl_gen.dart';
import 'package:yatl/yatl.dart';
class CategoryLocaleStrings extends LocaleStrings {
const CategoryLocaleStrings._(YatlCore core) : super(core);
String get all {
return core.translate("category.all");
}
String get design {
return core.translate("category.design");
}
String get games {
return core.translate("category.games");
}
String get entertainment {
return core.translate("category.entertainment");
}
String get development {
return core.translate("category.development");
}
String get music {
return core.translate("category.music");
}
String get productivity {
return core.translate("category.productivity");
}
String get tools {
return core.translate("category.tools");
}
String get finance {
return core.translate("category.finance");
}
String get health {
return core.translate("category.health");
}
String get education {
return core.translate("category.education");
}
String get fitness {
return core.translate("category.fitness");
}
String get communication {
return core.translate("category.communication");
}
String get business {
return core.translate("category.business");
}
}
class TopicLocaleStrings extends LocaleStrings {
const TopicLocaleStrings._(YatlCore core) : super(core);
String get showAll {
return core.translate("topic.show_all");
}
String get trending {
return core.translate("topic.trending");
}
String get trendingHint {
return core.translate("topic.trending_hint");
}
String get featured {
return core.translate("topic.featured");
}
String get featuredHint {
return core.translate("topic.featured_hint");
}
String get newTopic {
return core.translate("topic.newTopic");
}
String get newHint {
return core.translate("topic.new_hint");
}
}
class AppPageLocaleStrings extends LocaleStrings {
const AppPageLocaleStrings._(YatlCore core) : super(core);
String get download {
return core.translate("app_page.download");
}
String get downloadDialogTitle {
return core.translate("app_page.download_dialog_title");
}
String get downloadDialogDescription {
return core.translate("app_page.download_dialog_description");
}
String get downloadDialogConfirmInstallation {
return core.translate("app_page.download_dialog_confirm_installation");
}
String get downloadDialogCancelInstallation {
return core.translate("app_page.download_dialog_cancel_installation");
}
String get donate {
return core.translate("app_page.donate");
}
String get donateDialogTitle {
return core.translate("app_page.donate_dialog_title");
}
String get donateDialogDescription {
return core.translate("app_page.donate_dialog_description");
}
String get donateDialogClose {
return core.translate("app_page.donate_dialog_close");
}
String get informationDeveloperHint {
return core.translate("app_page.information_developer_hint");
}
String get informationTechnologyHint {
return core.translate("app_page.information_technology_hint");
}
String get informationTrendingHint {
return core.translate("app_page.information_trending_hint");
}
String get informationLocaleHint {
return core.translate("app_page.information_locale_hint");
}
String get informationSizeHint {
return core.translate("app_page.information_size_hint");
}
String get informationSourceHint {
return core.translate("app_page.information_source_hint");
}
String get longDescriptionTitle {
return core.translate("app_page.long_description_title");
}
String get images {
return core.translate("app_page.images");
}
String get reviews {
return core.translate("app_page.reviews");
}
String get similarApplications {
return core.translate("app_page.similar_applications");
}
}
class SettingsLocaleStrings extends LocaleStrings {
const SettingsLocaleStrings._(YatlCore core) : super(core);
String get title {
return core.translate("settings.title");
}
String get themeMode {
return core.translate("settings.theme_mode");
}
String get darkMode {
return core.translate("settings.dark_mode");
}
String get darkModeDescription {
return core.translate("settings.dark_mode_description");
}
String get locale {
return core.translate("settings.locale");
}
String get localeTitle {
return core.translate("settings.locale_title");
}
String get localeDescription {
return core.translate("settings.locale_description");
}
}
class SearchbarLocaleStrings extends LocaleStrings {
const SearchbarLocaleStrings._(YatlCore core) : super(core);
String get hint {
return core.translate("searchbar.hint");
}
}
class UpdatesLocaleStrings extends LocaleStrings {
const UpdatesLocaleStrings._(YatlCore core) : super(core);
String get title {
return core.translate("updates.title");
}
String get updateButton {
return core.translate("updates.update_button");
}
String get updateAllButton {
return core.translate("updates.update_all_button");
}
String get updateCancelAllButton {
return core.translate("updates.update_cancel_all_button");
}
String get updateAvailable {
return core.translate("updates.update_available");
}
String get updateCancelButton {
return core.translate("updates.update_cancel_button");
}
}
class GeneratedLocaleStrings extends LocaleStrings {
GeneratedLocaleStrings(YatlCore core) : super(core);
late final CategoryLocaleStrings category = CategoryLocaleStrings._(core);
late final TopicLocaleStrings topic = TopicLocaleStrings._(core);
late final AppPageLocaleStrings appPage = AppPageLocaleStrings._(core);
late final SettingsLocaleStrings settings = SettingsLocaleStrings._(core);
late final SearchbarLocaleStrings searchbar = SearchbarLocaleStrings._(core);
late final UpdatesLocaleStrings updates = UpdatesLocaleStrings._(core);
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/nl-NL.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$NlNLLocaleData extends LocaleData {
const _$NlNLLocaleData._()
: super(
locale: "nl-NL",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Allemaal",
"category.design": "Ontwerp",
"category.games": "Spellen",
"category.entertainment": "Vermaak",
"category.development": "Ontwikkeling",
"category.music": "Muziek",
"category.productivity": "Productiviteit",
"category.tools": "Hulpmiddelen",
"category.finance": "Financiële",
"category.health": "Gezondheid",
"category.education": "Opleiding",
"category.fitness": "Fitness",
"category.communication": "Communicatie",
"category.business": "Bedrijfsleven",
"topic.show_all": "Toon alle categorieën",
"topic.trending": "Populair",
"topic.trending_hint": "Toon alle populaire toepassingen",
"topic.featured": "Aanbevolen",
"topic.featured_hint": "Toon alle aanbevolen toepassingen",
"topic.newTopic": "Nieuw",
"topic.new_hint": "Alle recent toegevoegde toepassingen tonen",
"app_page.download": "downloaden",
"app_page.download_dialog_title": "Weet u zeker dat u wilt installeren?",
"app_page.download_dialog_description":
"Als je zeker weet dat je deze applicatie wilt installeren, druk dan op Ja. Druk anders op Nee.",
"app_page.download_dialog_confirm_installation": "ja",
"app_page.download_dialog_cancel_installation": "Neen",
"app_page.donate": "Doneren",
"app_page.donate_dialog_title":
"Doneer aan de ontwikkelaar van de applicatie",
"app_page.donate_dialog_description":
"Als u de ontwikkeling van de applicatie wilt ondersteunen, klik dan op de donatie links hieronder.",
"app_page.donate_dialog_close": "Afsluiten",
"app_page.information_developer_hint": "Ontwikkelaar",
"app_page.information_technology_hint": "Technologie",
"app_page.information_trending_hint": "Populaire positie",
"app_page.information_locale_hint": "Lokalisatie",
"app_page.information_size_hint": "Grootte",
"app_page.information_source_hint": "Bron",
"app_page.long_description_title": "Beschrijving",
"app_page.images": "Afbeeldingen",
"app_page.reviews": "Beoordelingen",
"app_page.similar_applications": "Vergelijkbare toepassingen",
"settings.title": "Instellingen",
"settings.theme_mode": "Thema modus",
"settings.dark_mode": "Donkere modus",
"settings.dark_mode_description": "Donkere modus inschakelen",
"settings.locale": "Lokalisatie",
"settings.locale_title": "Lokalisatie",
"settings.locale_description": "Verander de landinstelling",
"searchbar.hint": "Apps doorzoeken",
"updates.title": "Bijwerken",
"updates.update_button": "Vernieuwen",
"updates.update_all_button": "Alle toepassingen bijwerken",
"updates.update_cancel_all_button": "Alle updates annuleren",
"updates.update_available": "Nieuwe update beschikbaar",
"updates.update_cancel_button": "annuleren",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/ar-SA.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$ArSALocaleData extends LocaleData {
const _$ArSALocaleData._()
: super(
locale: "ar-SA",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "الكل",
"category.design": "تصميم",
"category.games": "ألعاب",
"category.entertainment": "الترفيه",
"category.development": "التطوير",
"category.music": "الموسيقى",
"category.productivity": "الإنتاجية",
"category.tools": "أدوات",
"category.finance": "المالية",
"category.health": "الصحة",
"category.education": "التعليم",
"category.fitness": "اللياقة",
"category.communication": "الاتصال",
"category.business": "الأعمال",
"topic.show_all": "إظهار جميع الفئات",
"topic.trending": "متداولة",
"topic.trending_hint": "إظهار جميع التطبيقات المتجهة",
"topic.featured": "مميز",
"topic.featured_hint": "إظهار جميع التطبيقات المميزة",
"topic.newTopic": "جديد",
"topic.new_hint": "إظهار جميع التطبيقات المضافة مؤخرا",
"app_page.download": "تنزيل",
"app_page.download_dialog_title": "هل أنت متأكد من أنك تريد التثبيت؟",
"app_page.download_dialog_description":
"إذا كنت متأكداً من أنك تريد تثبيت هذا التطبيق اضغط نعم، وإلا إضغط على رقم",
"app_page.download_dialog_confirm_installation": "نعم",
"app_page.download_dialog_cancel_installation": "لا",
"app_page.donate": "تبرع",
"app_page.donate_dialog_title": "تبرع لمطور التطبيق",
"app_page.donate_dialog_description":
"إذا كنت ترغب في دعم تطوير التطبيق، يرجى النقر على روابط التبرع أدناه.",
"app_page.donate_dialog_close": "أغلق",
"app_page.information_developer_hint": "المطور",
"app_page.information_technology_hint": "التكنولوجيا",
"app_page.information_trending_hint": "المكانة المتداولة",
"app_page.information_locale_hint": "محلي",
"app_page.information_size_hint": "الحجم",
"app_page.information_source_hint": "المصدر",
"app_page.long_description_title": "الوصف",
"app_page.images": "الصور",
"app_page.reviews": "عمليات المراجعة",
"app_page.similar_applications": "تطبيقات مشابهة",
"settings.title": "الإعدادات",
"settings.theme_mode": "وضع السمة",
"settings.dark_mode": "الوضع المظلم",
"settings.dark_mode_description": "تشغيل الوضع المظلم",
"settings.locale": "محلي",
"settings.locale_title": "محلي",
"settings.locale_description": "تغيير اللغة المحلية",
"searchbar.hint": "البحث عن التطبيقات",
"updates.title": "التحديثات",
"updates.update_button": "تحديث",
"updates.update_all_button": "تحديث جميع التطبيقات",
"updates.update_cancel_all_button": "إلغاء جميع التحديثات",
"updates.update_available": "تحديث جديد متوفر",
"updates.update_cancel_button": "إلغاء",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/nl-BE.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$NlBELocaleData extends LocaleData {
const _$NlBELocaleData._()
: super(
locale: "nl-BE",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Allemaal",
"category.design": "Ontwerp",
"category.games": "Spellen",
"category.entertainment": "Vermaak",
"category.development": "Ontwikkeling",
"category.music": "Muziek",
"category.productivity": "Productiviteit",
"category.tools": "Hulpmiddelen",
"category.finance": "Financiële",
"category.health": "Gezondheid",
"category.education": "Opleiding",
"category.fitness": "Fitness",
"category.communication": "Communicatie",
"category.business": "Bedrijfsleven",
"topic.show_all": "Toon alle categorieën",
"topic.trending": "Populair",
"topic.trending_hint": "Toon alle populaire toepassingen",
"topic.featured": "Aanbevolen",
"topic.featured_hint": "Toon alle aanbevolen toepassingen",
"topic.newTopic": "Nieuw",
"topic.new_hint": "Alle recent toegevoegde toepassingen tonen",
"app_page.download": "downloaden",
"app_page.download_dialog_title": "Weet u zeker dat u wilt installeren?",
"app_page.download_dialog_description":
"Als je zeker weet dat je deze applicatie wilt installeren, druk dan op Ja. Druk anders op Nee.",
"app_page.download_dialog_confirm_installation": "ja",
"app_page.download_dialog_cancel_installation": "Neen",
"app_page.donate": "Doneren",
"app_page.donate_dialog_title":
"Doneer aan de ontwikkelaar van de applicatie",
"app_page.donate_dialog_description":
"Als u de ontwikkeling van de applicatie wilt ondersteunen, klik dan op de donatie links hieronder.",
"app_page.donate_dialog_close": "Afsluiten",
"app_page.information_developer_hint": "Ontwikkelaar",
"app_page.information_technology_hint": "Technologie",
"app_page.information_trending_hint": "Populaire positie",
"app_page.information_locale_hint": "Lokalisatie",
"app_page.information_size_hint": "Grootte",
"app_page.information_source_hint": "Bron",
"app_page.long_description_title": "Beschrijving",
"app_page.images": "Afbeeldingen",
"app_page.reviews": "Beoordelingen",
"app_page.similar_applications": "Vergelijkbare toepassingen",
"settings.title": "Instellingen",
"settings.theme_mode": "Thema modus",
"settings.dark_mode": "Donkere modus",
"settings.dark_mode_description": "Donkere modus inschakelen",
"settings.locale": "Lokalisatie",
"settings.locale_title": "Lokalisatie",
"settings.locale_description": "Verander de landinstelling",
"searchbar.hint": "Apps doorzoeken",
"updates.title": "Bijwerken",
"updates.update_button": "Vernieuwen",
"updates.update_all_button": "Alle toepassingen bijwerken",
"updates.update_cancel_all_button": "Alle updates annuleren",
"updates.update_available": "Nieuwe update beschikbaar",
"updates.update_cancel_button": "annuleren",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/es-ES.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$EsESLocaleData extends LocaleData {
const _$EsESLocaleData._()
: super(
locale: "es-ES",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Todos",
"category.design": "Diseño",
"category.games": "Juegos",
"category.entertainment": "Empresarial",
"category.development": "Desarrollo",
"category.music": "Música",
"category.productivity": "Productividad",
"category.tools": "Herramientas",
"category.finance": "Finanzas",
"category.health": "Salud",
"category.education": "Educación",
"category.fitness": "Fitness",
"category.communication": "Comunicación",
"category.business": "Negocio",
"topic.show_all": "Mostrar todas las categorías",
"topic.trending": "Tendencias",
"topic.trending_hint": "Mostrar todas las aplicaciones tendentes",
"topic.featured": "Destacado",
"topic.featured_hint": "Mostrar todas las aplicaciones destacadas",
"topic.newTopic": "Nuevo",
"topic.new_hint": "Mostrar todas las aplicaciones añadidas recientemente",
"app_page.download": "Descargar",
"app_page.download_dialog_title": "¿Está seguro de que desea instalar?",
"app_page.download_dialog_description":
"Si está seguro de que desea instalar esta aplicación, presione Sí, de lo contrario presione No.",
"app_page.download_dialog_confirm_installation": "Sí",
"app_page.download_dialog_cancel_installation": "Nu",
"app_page.donate": "Donar",
"app_page.donate_dialog_title": "Donar al desarrollador de aplicaciones",
"app_page.donate_dialog_description":
"Si desea apoyar el desarrollo de la aplicación, por favor haga clic en los siguientes enlaces de donación.",
"app_page.donate_dialog_close": "Cerrar",
"app_page.information_developer_hint": "Desarrollador",
"app_page.information_technology_hint": "Tecnología",
"app_page.information_trending_hint": "Posición de tendencia",
"app_page.information_locale_hint": "Local",
"app_page.information_size_hint": "Tamaño",
"app_page.information_source_hint": "Fuente",
"app_page.long_description_title": "Descripción",
"app_page.images": "Imágenes",
"app_page.reviews": "Reseñas",
"app_page.similar_applications": "Aplicaciones similares",
"settings.title": "Ajustes",
"settings.theme_mode": "Modo de tema",
"settings.dark_mode": "Modo oscuro",
"settings.dark_mode_description": "Activar modo oscuro",
"settings.locale": "Local",
"settings.locale_title": "Local",
"settings.locale_description": "Cambiar el idioma",
"searchbar.hint": "Buscar aplicaciones",
"updates.title": "Actualizaciones",
"updates.update_button": "Actualizar",
"updates.update_all_button": "Actualizar todas las aplicaciones",
"updates.update_cancel_all_button": "Cancelar todas las actualizaciones",
"updates.update_available": "Nueva actualización disponible",
"updates.update_cancel_button": "Cancelar",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/cs-CZ.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$CsCZLocaleData extends LocaleData {
const _$CsCZLocaleData._()
: super(
locale: "cs-CZ",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Vše",
"category.design": "Vzhled",
"category.games": "Hry",
"category.entertainment": "Zábava",
"category.development": "Rozvoj",
"category.music": "Hudba",
"category.productivity":
"Průměrné prodejní ceny výrobního odvětví Unie účtované odběratelům v Unii, kteří nejsou ve spojení, se v posuzovaném období vyvíjely takto:",
"category.tools": "Nástroje a nářadí",
"category.finance": "Finanční prostředky",
"category.health": "Zdraví",
"category.education": "Vzdělávání",
"category.fitness": "Vhodnost",
"category.communication": "Komunikace",
"category.business": "Podniky",
"topic.show_all": "Zobrazit všechny kategorie",
"topic.trending": "Populární",
"topic.trending_hint": "Zobrazit všechny populární aplikace",
"topic.featured": "Doporučené",
"topic.featured_hint": "Zobrazit všechny doporučené aplikace",
"topic.newTopic": "Nové",
"topic.new_hint": "Zobrazit všechny nedávno přidané aplikace",
"app_page.download": "Stáhnout",
"app_page.download_dialog_title": "Jste si jisti, že chcete nainstalovat?",
"app_page.download_dialog_description":
"Pokud jste si jisti, že chcete nainstalovat tuto aplikaci, stiskněte Ano, jinak stiskněte Ne.",
"app_page.download_dialog_confirm_installation": "Ano",
"app_page.download_dialog_cancel_installation": "Ne",
"app_page.donate": "Přispět",
"app_page.donate_dialog_title": "Přispějte vývojáři aplikace",
"app_page.donate_dialog_description":
"Pokud chcete podpořit vývoj aplikace, klikněte prosím na níže uvedené odkazy.",
"app_page.donate_dialog_close": "Zavřít",
"app_page.information_developer_hint": "Vývojář",
"app_page.information_technology_hint": "Technologie",
"app_page.information_trending_hint": "Populární pozice",
"app_page.information_locale_hint": "Místní prostředí",
"app_page.information_size_hint": "Velikost",
"app_page.information_source_hint": "Zdroj",
"app_page.long_description_title": "L 343, 22.12.2009, s. 1).",
"app_page.images": "Obrázky",
"app_page.reviews": "Recenze",
"app_page.similar_applications": "Podobné aplikace",
"settings.title": "Nastavení",
"settings.theme_mode": "Režim motivu",
"settings.dark_mode": "Tmavý režim",
"settings.dark_mode_description": "Zapnout tmavý režim",
"settings.locale": "Místní prostředí",
"settings.locale_title": "Místní prostředí",
"settings.locale_description": "Změnit národní prostředí",
"searchbar.hint": "Hledat aplikace",
"updates.title": "Aktualizace",
"updates.update_button": "Aktualizovat",
"updates.update_all_button": "Aktualizovat všechny aplikace",
"updates.update_cancel_all_button": "Zrušit všechny aktualizace",
"updates.update_available": "K dispozici je nová aktualizace",
"updates.update_cancel_button": "Zrušit",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/no-NO.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$NoNOLocaleData extends LocaleData {
const _$NoNOLocaleData._()
: super(
locale: "no-NO",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Alle",
"category.design": "Utforming",
"category.games": "Spill",
"category.entertainment": "Underholdning",
"category.development": "Utvikling",
"category.music": "Musikk",
"category.productivity": "Produktivitet",
"category.tools": "Verktøy",
"category.finance": "Finans",
"category.health": "Helse",
"category.education": "Utdanning",
"category.fitness": "fitness",
"category.communication": "Kommunikasjon",
"category.business": "Forretninger",
"topic.show_all": "Vis alle kategorier",
"topic.trending": "Populært",
"topic.trending_hint": "Vis alle populære programmer",
"topic.featured": "Anbefalt",
"topic.featured_hint": "Vis alle utvalgte applikasjoner",
"topic.newTopic": "Ny",
"topic.new_hint": "Vis alle nylig lagt til applikasjoner",
"app_page.download": "Nedlasting",
"app_page.download_dialog_title": "Er du sikker på at du vil installere?",
"app_page.download_dialog_description":
"Hvis du er sikker på at du ønsker å installere denne applikasjonen pressen Ja, ellers trykk nei.",
"app_page.download_dialog_confirm_installation": "Ja",
"app_page.download_dialog_cancel_installation": "Nei",
"app_page.donate": "Doner",
"app_page.donate_dialog_title": "Doner til applikasjonsutvikler",
"app_page.donate_dialog_description":
"Hvis du ønsker å støtte utviklingen av programmet, vennligst klikk på donasjonslenkene under.",
"app_page.donate_dialog_close": "Lukk",
"app_page.information_developer_hint": "Utvikler",
"app_page.information_technology_hint": "Teknologi",
"app_page.information_trending_hint": "Trendende posisjon",
"app_page.information_locale_hint": "Språk",
"app_page.information_size_hint": "Størrelse",
"app_page.information_source_hint": "Kilde",
"app_page.long_description_title": "Beskrivelse",
"app_page.images": "Bilder",
"app_page.reviews": "Anmeldelser",
"app_page.similar_applications": "Lignende søknader",
"settings.title": "Innstillinger",
"settings.theme_mode": "Tema modus",
"settings.dark_mode": "Mørkt modus",
"settings.dark_mode_description": "Slå på mørk modus",
"settings.locale": "Språk",
"settings.locale_title": "Språk",
"settings.locale_description": "Endre nasjonale innstillinger",
"searchbar.hint": "Søk etter applikasjoner",
"updates.title": "Oppdateringer",
"updates.update_button": "Oppdater",
"updates.update_all_button": "Oppdater alle applikasjoner",
"updates.update_cancel_all_button": "Avbryt alle oppdateringer",
"updates.update_available": "Ny oppdatering tilgjengelig",
"updates.update_cancel_button": "Avbryt",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/uk-UA.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$UkUALocaleData extends LocaleData {
const _$UkUALocaleData._()
: super(
locale: "uk-UA",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Всі",
"category.design": "Дизайн",
"category.games": "Ігри",
"category.entertainment": "Розваги",
"category.development": "Розробка",
"category.music": "Музика",
"category.productivity": "Продукти",
"category.tools": "Інструменти",
"category.finance": "Фінанси",
"category.health": "Здоров'я",
"category.education": "Освіта",
"category.fitness": "Фітнес",
"category.communication": "Комунікація",
"category.business": "Бізнес",
"topic.show_all": "Показати всі категорії",
"topic.trending": "У тренді",
"topic.trending_hint": "Показати всі актуальні програми",
"topic.featured": "Рекомендовані",
"topic.featured_hint": "Показати всі виділені програми",
"topic.newTopic": "Новий",
"topic.new_hint": "Показати всі нещодавно додані додатки",
"app_page.download": "Звантажити",
"app_page.download_dialog_title": "Ви впевнені, що хочете встановити?",
"app_page.download_dialog_description":
"Якщо ви впевнені, що ви хочете встановити цю програму натисніть \"Так\", інакше натисніть кнопку \"Ні\".",
"app_page.download_dialog_confirm_installation": "Так",
"app_page.download_dialog_cancel_installation": "Ні",
"app_page.donate": "Пожертвувати",
"app_page.donate_dialog_title": "Пожертвувати розробнику програм",
"app_page.donate_dialog_description":
"Якщо ви хочете підтримати розробку програми, натисніть посилання \"пожертвування\" нижче.",
"app_page.donate_dialog_close": "Закрити",
"app_page.information_developer_hint": "Розробник",
"app_page.information_technology_hint": "Технологія",
"app_page.information_trending_hint": "Популярні позиції",
"app_page.information_locale_hint": "Локалізація",
"app_page.information_size_hint": "Розмір",
"app_page.information_source_hint": "Джерело",
"app_page.long_description_title": "Опис",
"app_page.images": "Малюнки",
"app_page.reviews": "Відгуки",
"app_page.similar_applications": "Схожі додатки",
"settings.title": "Налаштування",
"settings.theme_mode": "Теми",
"settings.dark_mode": "Темний режим",
"settings.dark_mode_description": "Увімкнути темний режим",
"settings.locale": "Локалізація",
"settings.locale_title": "Локалізація",
"settings.locale_description": "Змінити локаль",
"searchbar.hint": "Пошук додатків",
"updates.title": "Оновлення",
"updates.update_button": "Оновити",
"updates.update_all_button": "Оновити всі додатки",
"updates.update_cancel_all_button": "Скасувати всі оновлення",
"updates.update_available": "Доступне нове оновлення",
"updates.update_cancel_button": "Скасувати",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/de-AT.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$DeATLocaleData extends LocaleData {
const _$DeATLocaleData._()
: super(
locale: "de-AT",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Alle",
"category.design": "Design",
"category.games": "Spiele",
"category.entertainment": "Unterhaltung",
"category.development": "Entwicklung",
"category.music": "Musik",
"category.productivity": "Produktivität",
"category.tools": "Werkzeuge",
"category.finance": "Finanzen",
"category.health": "Gesundheit",
"category.education": "Bildung",
"category.fitness": "Fitness",
"category.communication": "Kommunikation",
"category.business": "Geschäftlich",
"topic.show_all": "Alle Kategorien anzeigen",
"topic.trending": "Beliebt",
"topic.trending_hint": "Alle angesagten Anwendungen anzeigen",
"topic.featured": "Empfohlen",
"topic.featured_hint": "Alle empfohlenen Anwendungen anzeigen",
"topic.newTopic": "Neu",
"topic.new_hint": "Alle zuletzt hinzugefügten Apps anzeigen",
"app_page.download": "Download",
"app_page.download_dialog_title":
"Sind Sie sicher, dass Sie installieren möchten?",
"app_page.download_dialog_description":
"Wenn Sie sicher sind, dass Sie diese Anwendung installieren möchten, drücken Sie Ja, ansonsten drücken Sie die Taste Nein.",
"app_page.download_dialog_confirm_installation": "Ja",
"app_page.download_dialog_cancel_installation": "Nein",
"app_page.donate": "Spenden",
"app_page.donate_dialog_title": "Spende an den Anwendungsentwickler",
"app_page.donate_dialog_description":
"Wenn Sie die Entwicklung der Applikation unterstützen möchten, klicken Sie bitte auf die Spenden-Links unten.",
"app_page.donate_dialog_close": "Schließen",
"app_page.information_developer_hint": "Entwickler",
"app_page.information_technology_hint": "Technik",
"app_page.information_trending_hint": "Angesagte Position",
"app_page.information_locale_hint": "Lokal",
"app_page.information_size_hint": "Größe",
"app_page.information_source_hint": "Quelle",
"app_page.long_description_title": "Beschreibung",
"app_page.images": "Bilder",
"app_page.reviews": "Bewertungen",
"app_page.similar_applications": "Ähnliche Anwendungen",
"settings.title": "Einstellungen",
"settings.theme_mode": "Theme-Modus",
"settings.dark_mode": "Dunkler Modus",
"settings.dark_mode_description": "Dunkler Modus aktivieren",
"settings.locale": "Lokal",
"settings.locale_title": "Lokal",
"settings.locale_description": "Gebietsschema ändern",
"searchbar.hint": "Anwendungen suchen",
"updates.title": "Updates",
"updates.update_button": "Aktualisieren",
"updates.update_all_button": "Alle Anwendungen aktualisieren",
"updates.update_cancel_all_button": "Alle Updates abbrechen",
"updates.update_available": "Neues Update verfügbar",
"updates.update_cancel_button": "Abbrechen",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/pt-BR.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$PtBRLocaleData extends LocaleData {
const _$PtBRLocaleData._()
: super(
locale: "pt-BR",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "TODOS",
"category.design": "Projetar",
"category.games": "Partidas",
"category.entertainment": "Entretenimento",
"category.development": "Desenvolvimento",
"category.music": "Música",
"category.productivity": "Produtividade",
"category.tools": "Ferramentas",
"category.finance": "Finança",
"category.health": "Vida",
"category.education": "Educação",
"category.fitness": "Academia",
"category.communication": "Comunicaçao",
"category.business": "Empresas",
"topic.show_all": "Mostrar todas as categorias",
"topic.trending": "Tendências",
"topic.trending_hint": "Mostrar todos os aplicativos em alta",
"topic.featured": "Destaques",
"topic.featured_hint": "Mostrar todas as aplicações em destaque",
"topic.newTopic": "Novidades",
"topic.new_hint": "Mostrar todas as aplicações adicionadas recentemente",
"app_page.download": "BAIXAR",
"app_page.download_dialog_title": "Tem certeza de que deseja instalar?",
"app_page.download_dialog_description":
"Se você tem certeza de que deseja instalar este aplicativo, pressione Sim, caso contrário, pressione Não.",
"app_page.download_dialog_confirm_installation": "sim",
"app_page.download_dialog_cancel_installation": "Não",
"app_page.donate": "Doar",
"app_page.donate_dialog_title": "Doar para o desenvolvedor do aplicativo",
"app_page.donate_dialog_description":
"Se você deseja apoiar o desenvolvimento do aplicativo, clique nos links de doação abaixo.",
"app_page.donate_dialog_close": "FECHAR",
"app_page.information_developer_hint": "Desenvolvedores",
"app_page.information_technology_hint": "Tecnologia",
"app_page.information_trending_hint": "Posição em alta",
"app_page.information_locale_hint": "Localidade",
"app_page.information_size_hint": "Tamanho",
"app_page.information_source_hint": "fonte",
"app_page.long_description_title": "Descrição:",
"app_page.images": "Imagens",
"app_page.reviews": "Avaliações",
"app_page.similar_applications": "Aplicativos similares",
"settings.title": "Confirgurações",
"settings.theme_mode": "Modo tema",
"settings.dark_mode": "Modo noturno",
"settings.dark_mode_description": "Ativar o modo escuro",
"settings.locale": "Localidade",
"settings.locale_title": "Localidade",
"settings.locale_description": "Alterar a localidade",
"searchbar.hint": "Pesquisar aplicativos",
"updates.title": "Atualizações",
"updates.update_button": "Atualização",
"updates.update_all_button": "Atualizar todos os aplicativos",
"updates.update_cancel_all_button": "Cancelar todas as atualizações",
"updates.update_available": "Nova atualização disponível",
"updates.update_cancel_button": "cancelar",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/de-DE.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$DeDELocaleData extends LocaleData {
const _$DeDELocaleData._()
: super(
locale: "de-DE",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Alle",
"category.design": "Design",
"category.games": "Spiele",
"category.entertainment": "Unterhaltung",
"category.development": "Entwicklung",
"category.music": "Musik",
"category.productivity": "Produktivität",
"category.tools": "Werkzeuge",
"category.finance": "Finanzen",
"category.health": "Gesundheit",
"category.education": "Bildung",
"category.fitness": "Fitness",
"category.communication": "Kommunikation",
"category.business": "Geschäftlich",
"topic.show_all": "Alle Kategorien anzeigen",
"topic.trending": "Beliebt",
"topic.trending_hint": "Alle angesagten Anwendungen anzeigen",
"topic.featured": "Empfohlen",
"topic.featured_hint": "Alle empfohlenen Anwendungen anzeigen",
"topic.newTopic": "Neu",
"topic.new_hint": "Alle zuletzt hinzugefügten Apps anzeigen",
"app_page.download": "Download",
"app_page.download_dialog_title":
"Sind Sie sicher, dass Sie installieren möchten?",
"app_page.download_dialog_description":
"Wenn Sie sicher sind, dass Sie diese Anwendung installieren möchten, drücken Sie Ja, ansonsten drücken Sie die Taste Nein.",
"app_page.download_dialog_confirm_installation": "Ja",
"app_page.download_dialog_cancel_installation": "Nein",
"app_page.donate": "Spenden",
"app_page.donate_dialog_title": "Spende an den Anwendungsentwickler",
"app_page.donate_dialog_description":
"Wenn Sie die Entwicklung der Applikation unterstützen möchten, klicken Sie bitte auf die Spenden-Links unten.",
"app_page.donate_dialog_close": "Schließen",
"app_page.information_developer_hint": "Entwickler",
"app_page.information_technology_hint": "Technik",
"app_page.information_trending_hint": "Angesagte Position",
"app_page.information_locale_hint": "Lokal",
"app_page.information_size_hint": "Größe",
"app_page.information_source_hint": "Quelle",
"app_page.long_description_title": "Beschreibung",
"app_page.images": "Bilder",
"app_page.reviews": "Bewertungen",
"app_page.similar_applications": "Ähnliche Anwendungen",
"settings.title": "Einstellungen",
"settings.theme_mode": "Theme-Modus",
"settings.dark_mode": "Dunkler Modus",
"settings.dark_mode_description": "Dunkler Modus aktivieren",
"settings.locale": "Lokal",
"settings.locale_title": "Lokal",
"settings.locale_description": "Gebietsschema ändern",
"searchbar.hint": "Anwendungen suchen",
"updates.title": "Updates",
"updates.update_button": "Aktualisieren",
"updates.update_all_button": "Alle Anwendungen aktualisieren",
"updates.update_cancel_all_button": "Alle Updates abbrechen",
"updates.update_available": "Neues Update verfügbar",
"updates.update_cancel_button": "Abbrechen",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/ro-RO.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$RoROLocaleData extends LocaleData {
const _$RoROLocaleData._()
: super(
locale: "ro-RO",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Toate",
"category.design": "Proiectare",
"category.games": "Jocuri",
"category.entertainment": "Divertisment",
"category.development": "Dezvoltare",
"category.music": "Muzică",
"category.productivity": "Productivitate",
"category.tools": "Unelte",
"category.finance": "Finanțe",
"category.health": "Sănătate",
"category.education": "Educaţia",
"category.fitness": "Fitm",
"category.communication": "Comunicare",
"category.business": "Afaceri",
"topic.show_all": "Arată toate categoriile",
"topic.trending": "Populare",
"topic.trending_hint": "Arată toate aplicațiile în curs",
"topic.featured": "Recomandate",
"topic.featured_hint": "Arată toate aplicațiile recomandate",
"topic.newTopic": "Nou",
"topic.new_hint": "Arată toate aplicațiile adăugate recent",
"app_page.download": "Descărcare",
"app_page.download_dialog_title": "Sunteţi sigur că doriţi să instalaţi?",
"app_page.download_dialog_description":
"Dacă sunteți sigur că doriți să instalați această aplicație, apăsați Da, altfel apăsați Nu.",
"app_page.download_dialog_confirm_installation": "Da",
"app_page.download_dialog_cancel_installation": "Nr",
"app_page.donate": "Donează",
"app_page.donate_dialog_title": "Donează către dezvoltatorul aplicației",
"app_page.donate_dialog_description":
"Dacă doriți să susțineți dezvoltarea aplicației, vă rugăm să faceți clic pe linkurile de donație de mai jos.",
"app_page.donate_dialog_close": "Inchide",
"app_page.information_developer_hint": "Dezvoltator",
"app_page.information_technology_hint": "Tehnologie",
"app_page.information_trending_hint": "Poziție populară",
"app_page.information_locale_hint": "Localizare",
"app_page.information_size_hint": "Dimensiune",
"app_page.information_source_hint": "Sursa",
"app_page.long_description_title": "Descriere",
"app_page.images": "Imagini",
"app_page.reviews": "Recenzii",
"app_page.similar_applications": "Aplicații similare",
"settings.title": "Setări",
"settings.theme_mode": "Mod temă",
"settings.dark_mode": "Mod întunecat",
"settings.dark_mode_description": "Activați modul întunecat",
"settings.locale": "Localizare",
"settings.locale_title": "Localizare",
"settings.locale_description": "Schimbă localizarea",
"searchbar.hint": "Căutare aplicații",
"updates.title": "Actualizări",
"updates.update_button": "Actualizare",
"updates.update_all_button": "Actualizează toate aplicațiile",
"updates.update_cancel_all_button": "Anulează toate actualizările",
"updates.update_available": "Actualizare nouă disponibilă",
"updates.update_cancel_button": "Anulează",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/el-GR.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$ElGRLocaleData extends LocaleData {
const _$ElGRLocaleData._()
: super(
locale: "el-GR",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Όλα",
"category.design": "Σχεδιασμός",
"category.games": "Παιχνίδια",
"category.entertainment": "Ψυχαγωγία",
"category.development": "Ανάπτυξη",
"category.music": "Μουσική",
"category.productivity": "Παραγωγικότητα",
"category.tools": "Εργαλεία",
"category.finance": "Οικονομικά",
"category.health": "Υγεία",
"category.education": "Εκπαίδευση",
"category.fitness": "Γυμναστήριο",
"category.communication": "Επικοινωνία",
"category.business": "Επιχείρηση",
"topic.show_all": "Εμφάνιση όλων των κατηγοριών",
"topic.trending": "Δημοφιλή",
"topic.trending_hint": "Εμφάνιση όλων των trending εφαρμογών",
"topic.featured": "Προτεινόμενα",
"topic.featured_hint": "Εμφάνιση όλων των προτεινόμενων εφαρμογών",
"topic.newTopic": "Νέο",
"topic.new_hint": "Εμφάνιση όλων των εφαρμογών που προστέθηκαν πρόσφατα",
"app_page.download": "Λήψη",
"app_page.download_dialog_title":
"Είστε βέβαιοι ότι θέλετε να εγκαταστήσετε?",
"app_page.download_dialog_description":
"Εάν είστε σίγουροι ότι θέλετε να εγκαταστήσετε αυτήν την εφαρμογή πατήστε Ναι, αλλιώς πατήστε Νο.",
"app_page.download_dialog_confirm_installation": "Ναι",
"app_page.download_dialog_cancel_installation": "Όχι",
"app_page.donate": "Δωρεά",
"app_page.donate_dialog_title": "Δωρεά στον προγραμματιστή της εφαρμογής",
"app_page.donate_dialog_description":
"Αν θέλετε να υποστηρίξετε την ανάπτυξη της εφαρμογής, κάντε κλικ στους παρακάτω συνδέσμους δωρεάς.",
"app_page.donate_dialog_close": "Κλείσιμο",
"app_page.information_developer_hint": "Προγραμματιστής",
"app_page.information_technology_hint": "Τεχνολογία",
"app_page.information_trending_hint": "Ανερχόμενη θέση",
"app_page.information_locale_hint": "Τοπική",
"app_page.information_size_hint": "Μέγεθος",
"app_page.information_source_hint": "Πηγή",
"app_page.long_description_title": "Περιγραφή",
"app_page.images": "Εικόνες",
"app_page.reviews": "Κριτικές",
"app_page.similar_applications": "Παρόμοιες εφαρμογές",
"settings.title": "Ρυθμίσεις",
"settings.theme_mode": "Λειτουργία θέματος",
"settings.dark_mode": "Σκοτεινή λειτουργία",
"settings.dark_mode_description": "Ενεργοποίηση σκοτεινής λειτουργίας",
"settings.locale": "Τοπική",
"settings.locale_title": "Τοπική",
"settings.locale_description": "Αλλαγή της γλώσσας",
"searchbar.hint": "Αναζήτηση εφαρμογών",
"updates.title": "Ενημερώσεις",
"updates.update_button": "Ενημέρωση",
"updates.update_all_button": "Ενημέρωση όλων των εφαρμογών",
"updates.update_cancel_all_button": "Ακύρωση όλων των ενημερώσεων",
"updates.update_available": "Διαθέσιμη νέα ενημέρωση",
"updates.update_cancel_button": "Ακύρωση",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/sv-SE.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$SvSELocaleData extends LocaleData {
const _$SvSELocaleData._()
: super(
locale: "sv-SE",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Alla",
"category.design": "Design",
"category.games": "Spel",
"category.entertainment": "Underhållning",
"category.development": "Utveckling",
"category.music": "Musik",
"category.productivity": "Produktivitet",
"category.tools": "Verktyg",
"category.finance": "Finans",
"category.health": "Hälsa",
"category.education": "Utbildning",
"category.fitness": "Fitness",
"category.communication": "Kommunikation",
"category.business": "Företag",
"topic.show_all": "Visa alla kategorier",
"topic.trending": "Trendande",
"topic.trending_hint": "Visa alla trendande program",
"topic.featured": "Utvalda",
"topic.featured_hint": "Visa alla utvalda program",
"topic.newTopic": "Ny",
"topic.new_hint": "Visa alla nyligen tillagda program",
"app_page.download": "Hämta",
"app_page.download_dialog_title": "Är du säker du vill installera?",
"app_page.download_dialog_description":
"Om du är säker på att du vill installera detta program tryck Ja, annars tryck på Nej.",
"app_page.download_dialog_confirm_installation": "Ja",
"app_page.download_dialog_cancel_installation": "Nej",
"app_page.donate": "Donera",
"app_page.donate_dialog_title": "Donera till applikationsutvecklare",
"app_page.donate_dialog_description":
"Om du vill stödja utvecklingen av ansökan, klicka på donationslänkarna nedan.",
"app_page.donate_dialog_close": "Stäng",
"app_page.information_developer_hint": "Utvecklare",
"app_page.information_technology_hint": "Teknik",
"app_page.information_trending_hint": "Trendande position",
"app_page.information_locale_hint": "Lokalt",
"app_page.information_size_hint": "Storlek",
"app_page.information_source_hint": "Källa",
"app_page.long_description_title": "Beskrivning",
"app_page.images": "Bilder",
"app_page.reviews": "Recensioner",
"app_page.similar_applications": "Liknande applikationer",
"settings.title": "Inställningar",
"settings.theme_mode": "Tema läge",
"settings.dark_mode": "Mörkt läge",
"settings.dark_mode_description": "Slå på mörkt läge",
"settings.locale": "Lokalt",
"settings.locale_title": "Lokalt",
"settings.locale_description": "Ändra språk",
"searchbar.hint": "Sök applikationer",
"updates.title": "Uppdateringar",
"updates.update_button": "Uppdatera",
"updates.update_all_button": "Uppdatera alla program",
"updates.update_cancel_all_button": "Avbryt alla uppdateringar",
"updates.update_available": "Ny uppdatering tillgänglig",
"updates.update_cancel_button": "Avbryt",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/ja-JP.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$JaJPLocaleData extends LocaleData {
const _$JaJPLocaleData._()
: super(
locale: "ja-JP",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "すべて",
"category.design": "デザイン",
"category.games": "ゲーム",
"category.entertainment": "エンターテイメント",
"category.development": "開発",
"category.music": "音楽",
"category.productivity": "Productivity",
"category.tools": "ツール",
"category.finance": "ファイナンス",
"category.health": "健康",
"category.education": "教育",
"category.fitness": "フィットネス",
"category.communication": "コミュニケーション",
"category.business": "ビジネス",
"topic.show_all": "すべてのカテゴリを表示",
"topic.trending": "トレンド",
"topic.trending_hint": "すべてのトレンドアプリケーションを表示",
"topic.featured": "注目の商品",
"topic.featured_hint": "すべての注目アプリケーションを表示",
"topic.newTopic": "新規作成",
"topic.new_hint": "最近追加されたすべてのアプリケーションを表示",
"app_page.download": "ダウンロード",
"app_page.download_dialog_title": "インストールしてもよろしいですか?",
"app_page.download_dialog_description":
"このアプリケーションをインストールしたい場合は「はい」を押してください。それ以外の場合は「いいえ」を押してください。",
"app_page.download_dialog_confirm_installation": "はい",
"app_page.download_dialog_cancel_installation": "いいえ",
"app_page.donate": "寄付",
"app_page.donate_dialog_title": "アプリ開発者に寄付",
"app_page.donate_dialog_description":
"アプリケーションの開発をサポートしたい場合は、以下の寄付リンクをクリックしてください。",
"app_page.donate_dialog_close": "閉じる",
"app_page.information_developer_hint": "開発者",
"app_page.information_technology_hint": "テクノロジー",
"app_page.information_trending_hint": "トレンドの位置",
"app_page.information_locale_hint": "ロケール",
"app_page.information_size_hint": "サイズ",
"app_page.information_source_hint": "ソース",
"app_page.long_description_title": "説明",
"app_page.images": "画像",
"app_page.reviews": "レビュー",
"app_page.similar_applications": "類似のアプリケーション",
"settings.title": "設定",
"settings.theme_mode": "テーマモード",
"settings.dark_mode": "ダークモード",
"settings.dark_mode_description": "ダークモードを有効にする",
"settings.locale": "ロケール",
"settings.locale_title": "ロケール",
"settings.locale_description": "ロケールの変更",
"searchbar.hint": "アプリケーションを検索",
"updates.title": "更新",
"updates.update_button": "更新",
"updates.update_all_button": "すべてのアプリケーションを更新",
"updates.update_cancel_all_button": "すべての更新をキャンセル",
"updates.update_available": "新しいアップデートが利用可能です",
"updates.update_cancel_button": "キャンセル",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/it-IT.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$ItITLocaleData extends LocaleData {
const _$ItITLocaleData._()
: super(
locale: "it-IT",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Tutti",
"category.design": "Design",
"category.games": "Giochi",
"category.entertainment": "Intrattenimento",
"category.development": "Sviluppo",
"category.music": "Musica",
"category.productivity": "Produttività",
"category.tools": "Strumenti",
"category.finance": "Finanza",
"category.health": "Salute",
"category.education": "Istruzione",
"category.fitness": "Fitness",
"category.communication": "Comunicazione",
"category.business": "Business",
"topic.show_all": "Mostra tutte le categorie",
"topic.trending": "Tendenze",
"topic.trending_hint": "Mostra tutte le applicazioni di tendenza",
"topic.featured": "Vetrina",
"topic.featured_hint": "Mostra tutte le applicazioni in evidenza",
"topic.newTopic": "Nuovo",
"topic.new_hint": "Mostra tutte le applicazioni aggiunte di recente",
"app_page.download": "Scarica",
"app_page.download_dialog_title": "Sei sicuro di voler installare?",
"app_page.download_dialog_description":
"Se sei sicuro di voler installare questa applicazione, premi Sì, altrimenti premi No.",
"app_page.download_dialog_confirm_installation": "Sì",
"app_page.download_dialog_cancel_installation": "No",
"app_page.donate": "Dona",
"app_page.donate_dialog_title": "Dona allo sviluppatore dell'applicazione",
"app_page.donate_dialog_description":
"Se desideri supportare lo sviluppo dell'applicazione, clicca sui link di donazione qui sotto.",
"app_page.donate_dialog_close": "Chiudi",
"app_page.information_developer_hint": "Sviluppatore",
"app_page.information_technology_hint": "Tecnologia",
"app_page.information_trending_hint": "Posizione di tendenza",
"app_page.information_locale_hint": "Localizzazione",
"app_page.information_size_hint": "Dimensione",
"app_page.information_source_hint": "Fonte",
"app_page.long_description_title": "Descrizione",
"app_page.images": "Immagini",
"app_page.reviews": "Recensioni",
"app_page.similar_applications": "Applicazioni simili",
"settings.title": "Impostazioni",
"settings.theme_mode": "Modalità tema",
"settings.dark_mode": "Modalità scura",
"settings.dark_mode_description": "Attiva la modalità scura",
"settings.locale": "Localizzazione",
"settings.locale_title": "Localizzazione",
"settings.locale_description": "Cambia la localizzazione",
"searchbar.hint": "Cerca applicazioni",
"updates.title": "Aggiornamenti",
"updates.update_button": "Aggiorna",
"updates.update_all_button": "Aggiorna tutte le applicazioni",
"updates.update_cancel_all_button": "Annulla tutti gli aggiornamenti",
"updates.update_available": "Nuovo aggiornamento disponibile",
"updates.update_cancel_button": "Annulla",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/pt-PT.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$PtPTLocaleData extends LocaleData {
const _$PtPTLocaleData._()
: super(
locale: "pt-PT",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "TODOS",
"category.design": "Projetar",
"category.games": "Partidas",
"category.entertainment": "Entretenimento",
"category.development": "Desenvolvimento",
"category.music": "Música",
"category.productivity": "Produtividade",
"category.tools": "Ferramentas",
"category.finance": "Finança",
"category.health": "Vida",
"category.education": "Educação",
"category.fitness": "Academia",
"category.communication": "Comunicaçao",
"category.business": "Empresas",
"topic.show_all": "Mostrar todas as categorias",
"topic.trending": "Tendências",
"topic.trending_hint": "Mostrar todos os aplicativos em alta",
"topic.featured": "Destaques",
"topic.featured_hint": "Mostrar todas as aplicações em destaque",
"topic.newTopic": "Novidades",
"topic.new_hint": "Mostrar todas as aplicações adicionadas recentemente",
"app_page.download": "BAIXAR",
"app_page.download_dialog_title": "Tem certeza de que deseja instalar?",
"app_page.download_dialog_description":
"Se você tem certeza de que deseja instalar este aplicativo, pressione Sim, caso contrário, pressione Não.",
"app_page.download_dialog_confirm_installation": "sim",
"app_page.download_dialog_cancel_installation": "Não",
"app_page.donate": "Doar",
"app_page.donate_dialog_title": "Doar para o desenvolvedor do aplicativo",
"app_page.donate_dialog_description":
"Se você deseja apoiar o desenvolvimento do aplicativo, clique nos links de doação abaixo.",
"app_page.donate_dialog_close": "FECHAR",
"app_page.information_developer_hint": "Desenvolvedores",
"app_page.information_technology_hint": "Tecnologia",
"app_page.information_trending_hint": "Posição em alta",
"app_page.information_locale_hint": "Localidade",
"app_page.information_size_hint": "Tamanho",
"app_page.information_source_hint": "fonte",
"app_page.long_description_title": "Descrição:",
"app_page.images": "Imagens",
"app_page.reviews": "Avaliações",
"app_page.similar_applications": "Aplicativos similares",
"settings.title": "Confirgurações",
"settings.theme_mode": "Modo tema",
"settings.dark_mode": "Modo noturno",
"settings.dark_mode_description": "Ativar o modo escuro",
"settings.locale": "Localidade",
"settings.locale_title": "Localidade",
"settings.locale_description": "Alterar a localidade",
"searchbar.hint": "Pesquisar aplicativos",
"updates.title": "Atualizações",
"updates.update_button": "Atualização",
"updates.update_all_button": "Atualizar todos os aplicativos",
"updates.update_cancel_all_button": "Cancelar todas as atualizações",
"updates.update_available": "Nova atualização disponível",
"updates.update_cancel_button": "cancelar",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/fi-FI.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$FiFILocaleData extends LocaleData {
const _$FiFILocaleData._()
: super(
locale: "fi-FI",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Kaikki",
"category.design": "Ulkoasu",
"category.games": "Pelit",
"category.entertainment": "Viihde",
"category.development": "Kehitys",
"category.music": "Musiikki",
"category.productivity": "Tuottavuus",
"category.tools": "Työkalut",
"category.finance": "Rahoitus",
"category.health": "Terveys",
"category.education": "Koulutus",
"category.fitness": "Kuntosali",
"category.communication": "Viestintä",
"category.business": "Liiketoiminta",
"topic.show_all": "Näytä kaikki kategoriat",
"topic.trending": "Nousussa",
"topic.trending_hint": "Näytä kaikki trendikäs sovellukset",
"topic.featured": "Suositellut",
"topic.featured_hint": "Näytä kaikki nostetut sovellukset",
"topic.newTopic": "Uusi",
"topic.new_hint": "Näytä kaikki äskettäin lisätyt sovellukset",
"app_page.download": "Lataa",
"app_page.download_dialog_title": "Oletko varma, että haluat asentaa?",
"app_page.download_dialog_description":
"Jos olet varma, että haluat asentaa tämän sovelluksen painamalla Kyllä, muuten paina nro.",
"app_page.download_dialog_confirm_installation": "Kyllä",
"app_page.download_dialog_cancel_installation": "Ei",
"app_page.donate": "Lahjoita",
"app_page.donate_dialog_title": "Lahjoita sovelluksen kehittäjälle",
"app_page.donate_dialog_description":
"Jos haluat tukea sovelluksen kehittämistä, klikkaa alla olevia lahjoituksen linkkejä.",
"app_page.donate_dialog_close": "Sulje",
"app_page.information_developer_hint": "Kehittäjä",
"app_page.information_technology_hint": "Teknologia",
"app_page.information_trending_hint": "Nousu sijainti",
"app_page.information_locale_hint": "Lokaatio",
"app_page.information_size_hint": "Koko",
"app_page.information_source_hint": "Lähde",
"app_page.long_description_title": "Kuvaus",
"app_page.images": "Kuvat",
"app_page.reviews": "Arvostelut",
"app_page.similar_applications": "Vastaavat sovellukset",
"settings.title": "Asetukset",
"settings.theme_mode": "Teeman tila",
"settings.dark_mode": "Tumma tila",
"settings.dark_mode_description": "Ota tumma tila käyttöön",
"settings.locale": "Lokaatio",
"settings.locale_title": "Lokaatio",
"settings.locale_description": "Muuta lokaatiota",
"searchbar.hint": "Hae sovelluksia",
"updates.title": "Päivitykset",
"updates.update_button": "Päivitä",
"updates.update_all_button": "Päivitä kaikki sovellukset",
"updates.update_cancel_all_button": "Peruuta kaikki päivitykset",
"updates.update_available": "Uusi päivitys saatavilla",
"updates.update_cancel_button": "Peruuta",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/de-CH.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$DeCHLocaleData extends LocaleData {
const _$DeCHLocaleData._()
: super(
locale: "de-CH",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Alle",
"category.design": "Design",
"category.games": "Spiele",
"category.entertainment": "Unterhaltung",
"category.development": "Entwicklung",
"category.music": "Musik",
"category.productivity": "Produktivität",
"category.tools": "Werkzeuge",
"category.finance": "Finanzen",
"category.health": "Gesundheit",
"category.education": "Bildung",
"category.fitness": "Fitness",
"category.communication": "Kommunikation",
"category.business": "Geschäftlich",
"topic.show_all": "Alle Kategorien anzeigen",
"topic.trending": "Beliebt",
"topic.trending_hint": "Alle angesagten Anwendungen anzeigen",
"topic.featured": "Empfohlen",
"topic.featured_hint": "Alle empfohlenen Anwendungen anzeigen",
"topic.newTopic": "Neu",
"topic.new_hint": "Alle zuletzt hinzugefügten Apps anzeigen",
"app_page.download": "Download",
"app_page.download_dialog_title":
"Sind Sie sicher, dass Sie installieren möchten?",
"app_page.download_dialog_description":
"Wenn Sie sicher sind, dass Sie diese Anwendung installieren möchten, drücken Sie Ja, ansonsten drücken Sie die Taste Nein.",
"app_page.download_dialog_confirm_installation": "Ja",
"app_page.download_dialog_cancel_installation": "Nein",
"app_page.donate": "Spenden",
"app_page.donate_dialog_title": "Spende an den Anwendungsentwickler",
"app_page.donate_dialog_description":
"Wenn Sie die Entwicklung der Applikation unterstützen möchten, klicken Sie bitte auf die Spenden-Links unten.",
"app_page.donate_dialog_close": "Schließen",
"app_page.information_developer_hint": "Entwickler",
"app_page.information_technology_hint": "Technik",
"app_page.information_trending_hint": "Angesagte Position",
"app_page.information_locale_hint": "Lokal",
"app_page.information_size_hint": "Größe",
"app_page.information_source_hint": "Quelle",
"app_page.long_description_title": "Beschreibung",
"app_page.images": "Bilder",
"app_page.reviews": "Bewertungen",
"app_page.similar_applications": "Ähnliche Anwendungen",
"settings.title": "Einstellungen",
"settings.theme_mode": "Theme-Modus",
"settings.dark_mode": "Dunkler Modus",
"settings.dark_mode_description": "Dunkler Modus aktivieren",
"settings.locale": "Lokal",
"settings.locale_title": "Lokal",
"settings.locale_description": "Gebietsschema ändern",
"searchbar.hint": "Anwendungen suchen",
"updates.title": "Updates",
"updates.update_button": "Aktualisieren",
"updates.update_all_button": "Alle Anwendungen aktualisieren",
"updates.update_cancel_all_button": "Alle Updates abbrechen",
"updates.update_available": "Neues Update verfügbar",
"updates.update_cancel_button": "Abbrechen",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/en-US.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$EnUSLocaleData extends LocaleData {
const _$EnUSLocaleData._()
: super(
locale: "en-US",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "All",
"category.design": "Design",
"category.games": "Games",
"category.entertainment": "Entertainment",
"category.development": "Development",
"category.music": "Music",
"category.productivity": "Productivity",
"category.tools": "Tools",
"category.finance": "Finance",
"category.health": "Health",
"category.education": "Education",
"category.fitness": "Fitness",
"category.communication": "Communication",
"category.business": "Business",
"topic.show_all": "Show all categories",
"topic.trending": "Trending",
"topic.trending_hint": "Show all trending applications",
"topic.featured": "Featured",
"topic.featured_hint": "Show all featured applications",
"topic.newTopic": "New",
"topic.new_hint": "Show all recently added applications",
"app_page.download": "Download",
"app_page.download_dialog_title": "Are you sure you want to install?",
"app_page.download_dialog_description":
"If you are sure you want to install this application press Yes, otherwise press No.",
"app_page.download_dialog_confirm_installation": "Yes",
"app_page.download_dialog_cancel_installation": "No",
"app_page.donate": "Donate",
"app_page.donate_dialog_title": "Donate to the application developer",
"app_page.donate_dialog_description":
"If you wish to support the development of the application, please click on the donation links below.",
"app_page.donate_dialog_close": "Close",
"app_page.information_developer_hint": "Developer",
"app_page.information_technology_hint": "Technology",
"app_page.information_trending_hint": "Trending position",
"app_page.information_locale_hint": "Locale",
"app_page.information_size_hint": "Size",
"app_page.information_source_hint": "Source",
"app_page.long_description_title": "Description",
"app_page.images": "Images",
"app_page.reviews": "Reviews",
"app_page.similar_applications": "Similar applications",
"settings.title": "Settings",
"settings.theme_mode": "Theme mode",
"settings.dark_mode": "Dark mode",
"settings.dark_mode_description": "Turn on dark mode",
"settings.locale": "Locale",
"settings.locale_title": "Locale",
"settings.locale_description": "Change the locale",
"searchbar.hint": "Search applications",
"updates.title": "Updates",
"updates.update_button": "Update",
"updates.update_all_button": "Update all applications",
"updates.update_cancel_all_button": "Cancel all updates",
"updates.update_available": "New update available",
"updates.update_cancel_button": "Cancel",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/pl-PL.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$PlPLLocaleData extends LocaleData {
const _$PlPLLocaleData._()
: super(
locale: "pl-PL",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Wszystkie",
"category.design": "Projekt",
"category.games": "Gry",
"category.entertainment": "Rozrywka",
"category.development": "Rozwój",
"category.music": "Muzyka",
"category.productivity": "Wydajność",
"category.tools": "Narzędzia",
"category.finance": "Środki finansowe",
"category.health": "Zdrowie",
"category.education": "Edukacja",
"category.fitness": "Fitness",
"category.communication": "Komunikacja",
"category.business": "Biznes",
"topic.show_all": "Pokaż wszystkie kategorie",
"topic.trending": "Popularne",
"topic.trending_hint": "Pokaż wszystkie popularne aplikacje",
"topic.featured": "Polecane",
"topic.featured_hint": "Pokaż wszystkie polecane aplikacje",
"topic.newTopic": "Nowy",
"topic.new_hint": "Pokaż wszystkie ostatnio dodane aplikacje",
"app_page.download": "Pobierz",
"app_page.download_dialog_title": "Czy na pewno chcesz zainstalować?",
"app_page.download_dialog_description":
"Jeśli jesteś pewien, że chcesz zainstalować tę aplikację, naciśnij Tak, w przeciwnym razie naciśnij nr",
"app_page.download_dialog_confirm_installation": "Tak",
"app_page.download_dialog_cancel_installation": "Nie",
"app_page.donate": "Wesprzyj",
"app_page.donate_dialog_title": "Wspomóż programistę aplikacji",
"app_page.donate_dialog_description":
"Jeśli chcesz wesprzeć rozwój aplikacji, kliknij poniższy link do darowizny.",
"app_page.donate_dialog_close": "Zamknij",
"app_page.information_developer_hint": "Programista",
"app_page.information_technology_hint": "Technologia",
"app_page.information_trending_hint": "Popularna pozycja",
"app_page.information_locale_hint": "Język",
"app_page.information_size_hint": "Rozmiar",
"app_page.information_source_hint": "Źródło",
"app_page.long_description_title": "Opis",
"app_page.images": "Obrazy",
"app_page.reviews": "Recenzje",
"app_page.similar_applications": "Podobne aplikacje",
"settings.title": "Ustawienia",
"settings.theme_mode": "Tryb motywu",
"settings.dark_mode": "Tryb ciemny",
"settings.dark_mode_description": "Włącz tryb ciemny",
"settings.locale": "Język",
"settings.locale_title": "Język",
"settings.locale_description": "Zmień ustawienia regionalne",
"searchbar.hint": "Szukaj aplikacji",
"updates.title": "Aktualizacje",
"updates.update_button": "Aktualizuj",
"updates.update_all_button": "Aktualizuj wszystkie aplikacje",
"updates.update_cancel_all_button": "Anuluj wszystkie aktualizacje",
"updates.update_available": "Dostępna jest nowa aktualizacja",
"updates.update_cancel_button": "Anuluj",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/ru-RU.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$RuRULocaleData extends LocaleData {
const _$RuRULocaleData._()
: super(
locale: "ru-RU",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Все",
"category.design": "Дизайн",
"category.games": "Игры",
"category.entertainment": "Развлечения",
"category.development": "Развитие",
"category.music": "Музыка",
"category.productivity": "Производительность",
"category.tools": "Инструменты",
"category.finance": "Финансы",
"category.health": "Здоровье",
"category.education": "Образование",
"category.fitness": "Фитнес",
"category.communication": "Связь",
"category.business": "Бизнес",
"topic.show_all": "Показать все категории",
"topic.trending": "Популярные",
"topic.trending_hint": "Показать все популярные приложения",
"topic.featured": "Избранные",
"topic.featured_hint": "Показать все избранные приложения",
"topic.newTopic": "Новый",
"topic.new_hint": "Показать все недавно добавленные приложения",
"app_page.download": "Скачать",
"app_page.download_dialog_title": "Вы уверены, что хотите установить?",
"app_page.download_dialog_description":
"Если вы уверены, что хотите установить это приложение, нажмите Да, иначе нажмите Нет.",
"app_page.download_dialog_confirm_installation": "Да",
"app_page.download_dialog_cancel_installation": "Нет",
"app_page.donate": "Пожертвовать",
"app_page.donate_dialog_title": "Пожертвовать разработчику приложения",
"app_page.donate_dialog_description":
"Если вы хотите поддержать разработку приложения, нажмите на ссылки пожертвования ниже.",
"app_page.donate_dialog_close": "Закрыть",
"app_page.information_developer_hint": "Разработчик",
"app_page.information_technology_hint": "Технология",
"app_page.information_trending_hint": "Популярная позиция",
"app_page.information_locale_hint": "Язык",
"app_page.information_size_hint": "Размер",
"app_page.information_source_hint": "Источник",
"app_page.long_description_title": "Описание",
"app_page.images": "Изображения",
"app_page.reviews": "Отзывы",
"app_page.similar_applications": "Похожие приложения",
"settings.title": "Настройки",
"settings.theme_mode": "Режим темы",
"settings.dark_mode": "Темный режим",
"settings.dark_mode_description": "Включить темный режим",
"settings.locale": "Язык",
"settings.locale_title": "Язык",
"settings.locale_description": "Изменить язык",
"searchbar.hint": "Поиск приложений",
"updates.title": "Обновления",
"updates.update_button": "Обновить",
"updates.update_all_button": "Обновить все приложения",
"updates.update_cancel_all_button": "Отменить все обновления",
"updates.update_available": "Доступно новое обновление",
"updates.update_cancel_button": "Отмена",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/he-IL.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$HeILLocaleData extends LocaleData {
const _$HeILLocaleData._()
: super(
locale: "he-IL",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "הכול",
"category.design": "עיצוב",
"category.games": "משחקים",
"category.entertainment": "בידור",
"category.development": "תכנות",
"category.music": "מוזיקה",
"category.productivity": "הפקה",
"category.tools": "כלים",
"category.finance": "פיננסים",
"category.health": "בריאות",
"category.education": "חינוך",
"category.fitness": "חיטוב",
"category.communication": "תקשורת",
"category.business": "עסקים",
"topic.show_all": "הצגת כל הקטגוריות",
"topic.trending": "מובילים",
"topic.trending_hint": "הצגת כל היישומים המובילים",
"topic.featured": "מומלצים",
"topic.featured_hint": "הצגת כל היישומים המומלצים",
"topic.newTopic": "חדש",
"topic.new_hint": "הצגת כל היישומים שנוספו לאחרונה",
"app_page.download": "הורדה",
"app_page.download_dialog_title": "להתקין?",
"app_page.download_dialog_description":
"אם ברור לך שיש לך עניין בהתקנת היישום יש ללחוץ על כן, אחרת על לא.",
"app_page.download_dialog_confirm_installation": "כן",
"app_page.download_dialog_cancel_installation": "לא",
"app_page.donate": "תרומה",
"app_page.donate_dialog_title": "לתרום למתכנתים היישום",
"app_page.donate_dialog_description":
"כדי לתמוך בפיתוח היישום, נא ללחוץ על כפתורי התרומה שלהלן.",
"app_page.donate_dialog_close": "סגירה",
"app_page.information_developer_hint": "מתכנתים",
"app_page.information_technology_hint": "טכנולוגיה",
"app_page.information_trending_hint": "מיקום מוביל",
"app_page.information_locale_hint": "שפה",
"app_page.information_size_hint": "גודל",
"app_page.information_source_hint": "מקור",
"app_page.long_description_title": "תיאור",
"app_page.images": "תמונות",
"app_page.reviews": "ביקורות",
"app_page.similar_applications": "יישומים דומים",
"settings.title": "הגדרות",
"settings.theme_mode": "מצב ערכות עיצוב",
"settings.dark_mode": "מצב כהה",
"settings.dark_mode_description": "הפעלת מצב כהה",
"settings.locale": "שפה",
"settings.locale_title": "שפה",
"settings.locale_description": "החלפת השפה",
"searchbar.hint": "חיפוש יישומים",
"updates.title": "עדכונים",
"updates.update_button": "עדכון",
"updates.update_all_button": "עדכון כל היישומים",
"updates.update_cancel_all_button": "ביטול כל העדכונים",
"updates.update_available": "יש עדכון חדש",
"updates.update_cancel_button": "ביטול",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/fr-FR.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$FrFRLocaleData extends LocaleData {
const _$FrFRLocaleData._()
: super(
locale: "fr-FR",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Tous",
"category.design": "Conception",
"category.games": "Jeu",
"category.entertainment": "Divertissement",
"category.development": "Développement",
"category.music": "Musique",
"category.productivity": "Productivité",
"category.tools": "Outils",
"category.finance": "Financement",
"category.health": "Santé",
"category.education": "Éducation",
"category.fitness": "Entraînement physique",
"category.communication": "Communication",
"category.business": "Entreprise",
"topic.show_all": "Afficher toutes les catégories",
"topic.trending": "Tendance",
"topic.trending_hint": "Afficher toutes les applications tendances",
"topic.featured": "En vedette",
"topic.featured_hint": "Afficher toutes les applications en vedette",
"topic.newTopic": "Nouveau",
"topic.new_hint": "Afficher toutes les applications récemment ajoutées",
"app_page.download": "Télécharger",
"app_page.download_dialog_title": "Êtes-vous sûr de vouloir installer ?",
"app_page.download_dialog_description":
"Si vous êtes sûr de vouloir installer cette application, appuyez sur Oui, sinon appuyez sur Non.",
"app_page.download_dialog_confirm_installation": "Oui",
"app_page.download_dialog_cancel_installation": "Non",
"app_page.donate": "Faire un don",
"app_page.donate_dialog_title":
"Faire un don au développeur de l'application",
"app_page.donate_dialog_description":
"Si vous souhaitez soutenir le développement de la demande, veuillez cliquer sur les liens de don ci-dessous.",
"app_page.donate_dialog_close": "Fermer",
"app_page.information_developer_hint": "Développeur",
"app_page.information_technology_hint": "Technologie",
"app_page.information_trending_hint": "Position de tendance",
"app_page.information_locale_hint": "Locale",
"app_page.information_size_hint": "Taille",
"app_page.information_source_hint": "Source",
"app_page.long_description_title": "Libellé",
"app_page.images": "Images",
"app_page.reviews": "Revues",
"app_page.similar_applications": "Applications similaires",
"settings.title": "Réglages",
"settings.theme_mode": "Mode thème",
"settings.dark_mode": "Mode sombre",
"settings.dark_mode_description": "Activer le mode sombre",
"settings.locale": "Locale",
"settings.locale_title": "Locale",
"settings.locale_description": "Changer la locale",
"searchbar.hint": "Rechercher des applications",
"updates.title": "Mises à jour",
"updates.update_button": "Mise à jour",
"updates.update_all_button": "Mettre à jour toutes les applications",
"updates.update_cancel_all_button": "Annuler toutes les mises à jour",
"updates.update_available": "Nouvelle mise à jour disponible",
"updates.update_cancel_button": "Abandonner",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/zh-CN.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$ZhCNLocaleData extends LocaleData {
const _$ZhCNLocaleData._()
: super(
locale: "zh-CN",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "所有的",
"category.design": "设计",
"category.games": "游戏",
"category.entertainment": "娱乐活动",
"category.development": "贸易和发展会议",
"category.music": "音乐",
"category.productivity": "生产率:",
"category.tools": "工具",
"category.finance": "A. 财务",
"category.health": "保健",
"category.education": "教育",
"category.fitness": "健身力",
"category.communication": "通讯",
"category.business": "业务",
"topic.show_all": "显示所有类别",
"topic.trending": "热门主题",
"topic.trending_hint": "显示所有热门应用程序",
"topic.featured": "精选",
"topic.featured_hint": "显示所有精选应用",
"topic.newTopic": "新的",
"topic.new_hint": "显示所有最近添加的应用程序",
"app_page.download": "下载",
"app_page.download_dialog_title": "您确定要安装吗?",
"app_page.download_dialog_description": "如果您确定要安装此应用程序,请按“是”,否则按“是”。",
"app_page.download_dialog_confirm_installation": "否",
"app_page.download_dialog_cancel_installation": "否",
"app_page.donate": "捐助",
"app_page.donate_dialog_title": "捐赠给应用程序开发者",
"app_page.donate_dialog_description": "如果您希望支持应用程序的开发,请点击下面的捐赠链接。",
"app_page.donate_dialog_close": "关闭",
"app_page.information_developer_hint": "开发者",
"app_page.information_technology_hint": "技术",
"app_page.information_trending_hint": "热门位置",
"app_page.information_locale_hint": "区域设置",
"app_page.information_size_hint": "大小",
"app_page.information_source_hint": "来源",
"app_page.long_description_title": "描述",
"app_page.images": "图像",
"app_page.reviews": "评论",
"app_page.similar_applications": "类似的应用程序",
"settings.title": "设置",
"settings.theme_mode": "主题模式",
"settings.dark_mode": "暗色模式",
"settings.dark_mode_description": "打开暗色模式",
"settings.locale": "区域设置",
"settings.locale_title": "区域设置",
"settings.locale_description": "更改区域设置",
"searchbar.hint": "搜索应用程序",
"updates.title": "更新",
"updates.update_button": "更新",
"updates.update_all_button": "更新所有应用程序",
"updates.update_cancel_all_button": "取消所有更新",
"updates.update_available": "有新的更新可用",
"updates.update_cancel_button": "取消",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/da-DK.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$DaDKLocaleData extends LocaleData {
const _$DaDKLocaleData._()
: super(
locale: "da-DK",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Alle",
"category.design": "Design",
"category.games": "Spil",
"category.entertainment": "Underholdning",
"category.development": "Udvikling",
"category.music": "Musik",
"category.productivity": "Produktivitet",
"category.tools": "Værktøjer",
"category.finance": "Finans",
"category.health": "Sundhed",
"category.education": "Uddannelse",
"category.fitness": "Fitness",
"category.communication": "Kommunikation",
"category.business": "Forretning",
"topic.show_all": "Vis alle kategorier",
"topic.trending": "Populære",
"topic.trending_hint": "Vis alle aktuelle programmer",
"topic.featured": "Fremhævet",
"topic.featured_hint": "Vis alle fremhævede programmer",
"topic.newTopic": "Ny",
"topic.new_hint": "Vis alle nyligt tilføjede programmer",
"app_page.download": "Hent",
"app_page.download_dialog_title": "Er du sikker på du vil installere?",
"app_page.download_dialog_description":
"Hvis du er sikker på, at du vil installere dette program, tryk på Ja, ellers tryk på Nej.",
"app_page.download_dialog_confirm_installation": "Ja",
"app_page.download_dialog_cancel_installation": "Nej",
"app_page.donate": "Donér",
"app_page.donate_dialog_title": "Donér til programudvikleren",
"app_page.donate_dialog_description":
"Hvis du ønsker at støtte udviklingen af ansøgningen, skal du klikke på nedenstående donationslinks.",
"app_page.donate_dialog_close": "Luk",
"app_page.information_developer_hint": "Udvikler",
"app_page.information_technology_hint": "Teknologi",
"app_page.information_trending_hint": "Populære position",
"app_page.information_locale_hint": "Landestandard",
"app_page.information_size_hint": "Størrelse",
"app_page.information_source_hint": "Kilde",
"app_page.long_description_title": "Varebeskrivelse",
"app_page.images": "Billeder",
"app_page.reviews": "Anmeldelser",
"app_page.similar_applications": "Lignende programmer",
"settings.title": "Indstillinger",
"settings.theme_mode": "Tema tilstand",
"settings.dark_mode": "Mørk tilstand",
"settings.dark_mode_description": "Slå mørk tilstand til",
"settings.locale": "Landestandard",
"settings.locale_title": "Landestandard",
"settings.locale_description": "Skift landestandard",
"searchbar.hint": "Søg efter programmer",
"updates.title": "Opdateringer",
"updates.update_button": "Opdater",
"updates.update_all_button": "Opdater alle programmer",
"updates.update_cancel_all_button": "Annuller alle opdateringer",
"updates.update_available": "Ny opdatering tilgængelig",
"updates.update_cancel_button": "Annuller",
};
}
| 0 |
mirrored_repositories/app_store/lib/generated/locale | mirrored_repositories/app_store/lib/generated/locale/data/hr-HR.g.dart | part of '../data.dart';
// ignore_for_file: file_names
class _$HrHRLocaleData extends LocaleData {
const _$HrHRLocaleData._()
: super(
locale: "hr-HR",
translationProgress: 54,
);
@override
final Map<String, String> data = const {
"category.all": "Sve",
"category.design": "Dizajn",
"category.games": "Igre",
"category.entertainment": "Zabava",
"category.development": "Razvoj",
"category.music": "Glazba",
"category.productivity": "Produktivnost",
"category.tools": "Alati",
"category.finance": "Financije",
"category.health": "Zdravlje",
"category.education": "Obrazovanje",
"category.fitness": "Fitness",
"category.communication": "Komunikacija",
"category.business": "Posao",
"topic.show_all": "Prikaži sve kategorije",
"topic.trending": "U trendu",
"topic.trending_hint": "Prikaži sve popularne aplikacije",
"topic.featured": "Istaknuto",
"topic.featured_hint": "Prikaži sve istaknute aplikacije",
"topic.newTopic": "Novo",
"topic.new_hint": "Prikaži sve nedavno dodane aplikacije",
"app_page.download": "Preuzmi",
"app_page.download_dialog_title": "Jeste li sigurni da želite instalirati?",
"app_page.download_dialog_description":
"Ako ste sigurni da želite instalirati ovu aplikaciju pritisnite Da, u suprotnom pritisnite Ne.",
"app_page.download_dialog_confirm_installation": "Da",
"app_page.download_dialog_cancel_installation": "Ne",
"app_page.donate": "Donirajte",
"app_page.donate_dialog_title": "Donirajte razvojnom programeru aplikacije",
"app_page.donate_dialog_description":
"Ako želite podržati razvoj aplikacije, kliknite na linkove za donacije u nastavku.",
"app_page.donate_dialog_close": "Zatvori",
"app_page.information_developer_hint": "Razvojni programer",
"app_page.information_technology_hint": "Tehnologija",
"app_page.information_trending_hint": "Pozicija u trendu",
"app_page.information_locale_hint": "Jezik",
"app_page.information_size_hint": "Veličina",
"app_page.information_source_hint": "Izvor",
"app_page.long_description_title": "Opis",
"app_page.images": "Slike",
"app_page.reviews": "Recenzije",
"app_page.similar_applications": "Slične aplikacije",
"settings.title": "Postavke",
"settings.theme_mode": "Način teme",
"settings.dark_mode": "Tamni način rada",
"settings.dark_mode_description": "Uključite tamni način rada",
"settings.locale": "Jezik",
"settings.locale_title": "Jezik",
"settings.locale_description": "Promijenite jezik",
"searchbar.hint": "Pretraži aplikacije",
"updates.title": "Ažuriranja",
"updates.update_button": "Ažuriraj",
"updates.update_all_button": "Ažuriraj sve aplikacije",
"updates.update_cancel_all_button": "Odustani od svih ažuriranja",
"updates.update_available": "Novo ažuriranje dostupno",
"updates.update_cancel_button": "Odustani",
};
}
| 0 |
mirrored_repositories/app_store/lib | mirrored_repositories/app_store/lib/utils/preferences.dart | /*
Copyright 2022 The dahliaOS Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import 'package:shared_preferences/shared_preferences.dart';
class AppPreferences {
const AppPreferences(this.prefs);
final SharedPreferences prefs;
String? get locale {
return prefs.getString('locale');
}
set locale(String? value) {
prefs.setString('locale', value!);
}
}
| 0 |
mirrored_repositories/app_store/lib | mirrored_repositories/app_store/lib/utils/native_names.dart | const Map<String, String> localeNativeNames = {
'af': 'Afrikaans',
'af_NA': 'Afrikaans (Namibië)',
'af_ZA': 'Afrikaans (Suid-Afrika)',
'ak': 'Akan',
'ak_GH': 'Akan (Gaana)',
'am': 'አማርኛ',
'am_ET': 'አማርኛ (ኢትዮጵያ)',
'ar': 'العربية',
'ar_AE': 'العربية (الإمارات العربية المتحدة)',
'ar_BH': 'العربية (البحرين)',
'ar_DJ': 'العربية (جيبوتي)',
'ar_DZ': 'العربية (الجزائر)',
'ar_EG': 'العربية (مصر)',
'ar_EH': 'العربية (الصحراء الغربية)',
'ar_ER': 'العربية (أريتريا)',
'ar_IL': 'العربية (إسرائيل)',
'ar_IQ': 'العربية (العراق)',
'ar_JO': 'العربية (الأردن)',
'ar_KM': 'العربية (جزر القمر)',
'ar_KW': 'العربية (الكويت)',
'ar_LB': 'العربية (لبنان)',
'ar_LY': 'العربية (ليبيا)',
'ar_MA': 'العربية (المغرب)',
'ar_MR': 'العربية (موريتانيا)',
'ar_OM': 'العربية (عُمان)',
'ar_PS': 'العربية (الأراضي الفلسطينية)',
'ar_QA': 'العربية (قطر)',
'ar_SA': 'العربية (المملكة العربية السعودية)',
'ar_SD': 'العربية (السودان)',
'ar_SO': 'العربية (الصومال)',
'ar_SS': 'العربية (جنوب السودان)',
'ar_SY': 'العربية (سوريا)',
'ar_TD': 'العربية (تشاد)',
'ar_TN': 'العربية (تونس)',
'ar_YE': 'العربية (اليمن)',
'as': 'অসমীয়া',
'as_IN': 'অসমীয়া (ভাৰত)',
'az': 'azərbaycan',
'az_AZ': 'azərbaycan (Azərbaycan)',
'az_Cyrl': 'Азәрбајҹан (kiril)',
'az_Cyrl_AZ': 'Азәрбајҹан (kiril, Азәрбајҹан)',
'az_Latn': 'azərbaycan (latın)',
'az_Latn_AZ': 'azərbaycan (latın, Azərbaycan)',
'be': 'беларуская',
'be_BY': 'беларуская (Беларусь)',
'bg': 'български',
'bg_BG': 'български (България)',
'bm': 'bamanakan',
'bm_Latn': 'Bambara (Latin)',
'bm_Latn_ML': 'Bambara (Latin, Mali)',
'bn': 'বাংলা',
'bn_BD': 'বাংলা (বাংলাদেশ)',
'bn_IN': 'বাংলা (ভারত)',
'bo': 'བོད་སྐད་',
'bo_CN': 'བོད་སྐད་ (རྒྱ་ནག)',
'bo_IN': 'བོད་སྐད་ (རྒྱ་གར་)',
'br': 'brezhoneg',
'br_FR': 'brezhoneg (Frañs)',
'bs': 'bosanski',
'bs_BA': 'bosanski (Bosna i Hercegovina)',
'bs_Cyrl': 'босански (Ћирилица)',
'bs_Cyrl_BA': 'босански (Ћирилица, Босна и Херцеговина)',
'bs_Latn': 'bosanski (latinica)',
'bs_Latn_BA': 'bosanski (latinica, Bosna i Hercegovina)',
'ca': 'català',
'ca_AD': 'català (Andorra)',
'ca_ES': 'català (Espanya)',
'ca_FR': 'català (França)',
'ca_IT': 'català (Itàlia)',
'cs': 'čeština',
'cs_CZ': 'čeština (Česká republika)',
'cy': 'Cymraeg',
'cy_GB': 'Cymraeg (Y Deyrnas Unedig)',
'da': 'dansk',
'da_DK': 'dansk (Danmark)',
'da_GL': 'dansk (Grønland)',
'de': 'Deutsch',
'de_AT': 'Deutsch (Österreich)',
'de_BE': 'Deutsch (Belgien)',
'de_CH': 'Deutsch (Schweiz)',
'de_DE': 'Deutsch (Deutschland)',
'de_LI': 'Deutsch (Liechtenstein)',
'de_LU': 'Deutsch (Luxemburg)',
'dz': 'རྫོང་ཁ',
'dz_BT': 'རྫོང་ཁ (འབྲུག)',
'ee': 'eʋegbe',
'ee_GH': 'eʋegbe (Ghana nutome)',
'ee_TG': 'eʋegbe (Togo nutome)',
'el': 'Ελληνικά',
'el_CY': 'Ελληνικά (Κύπρος)',
'el_GR': 'Ελληνικά (Ελλάδα)',
'en': 'English',
'en_AG': 'English (Antigua & Barbuda)',
'en_AI': 'English (Anguilla)',
'en_AS': 'English (American Samoa)',
'en_AU': 'English (Australia)',
'en_BB': 'English (Barbados)',
'en_BE': 'English (Belgium)',
'en_BM': 'English (Bermuda)',
'en_BS': 'English (Bahamas)',
'en_BW': 'English (Botswana)',
'en_BZ': 'English (Belize)',
'en_CA': 'English (Canada)',
'en_CC': 'English (Cocos (Keeling) Islands)',
'en_CK': 'English (Cook Islands)',
'en_CM': 'English (Cameroon)',
'en_CX': 'English (Christmas Island)',
'en_DG': 'English (Diego Garcia)',
'en_DM': 'English (Dominica)',
'en_ER': 'English (Eritrea)',
'en_FJ': 'English (Fiji)',
'en_FK': 'English (Falkland Islands)',
'en_FM': 'English (Micronesia)',
'en_GB': 'English (United Kingdom)',
'en_GD': 'English (Grenada)',
'en_GG': 'English (Guernsey)',
'en_GH': 'English (Ghana)',
'en_GI': 'English (Gibraltar)',
'en_GM': 'English (Gambia)',
'en_GU': 'English (Guam)',
'en_GY': 'English (Guyana)',
'en_HK': 'English (Hong Kong SAR China)',
'en_IE': 'English (Ireland)',
'en_IM': 'English (Isle of Man)',
'en_IN': 'English (India)',
'en_IO': 'English (British Indian Ocean Territory)',
'en_JE': 'English (Jersey)',
'en_JM': 'English (Jamaica)',
'en_KE': 'English (Kenya)',
'en_KI': 'English (Kiribati)',
'en_KN': 'English (St. Kitts & Nevis)',
'en_KY': 'English (Cayman Islands)',
'en_LC': 'English (St. Lucia)',
'en_LR': 'English (Liberia)',
'en_LS': 'English (Lesotho)',
'en_MG': 'English (Madagascar)',
'en_MH': 'English (Marshall Islands)',
'en_MO': 'English (Macau SAR China)',
'en_MP': 'English (Northern Mariana Islands)',
'en_MS': 'English (Montserrat)',
'en_MT': 'English (Malta)',
'en_MU': 'English (Mauritius)',
'en_MW': 'English (Malawi)',
'en_MY': 'English (Malaysia)',
'en_NA': 'English (Namibia)',
'en_NF': 'English (Norfolk Island)',
'en_NG': 'English (Nigeria)',
'en_NR': 'English (Nauru)',
'en_NU': 'English (Niue)',
'en_NZ': 'English (New Zealand)',
'en_PG': 'English (Papua New Guinea)',
'en_PH': 'English (Philippines)',
'en_PK': 'English (Pakistan)',
'en_PN': 'English (Pitcairn Islands)',
'en_PR': 'English (Puerto Rico)',
'en_PW': 'English (Palau)',
'en_RW': 'English (Rwanda)',
'en_SB': 'English (Solomon Islands)',
'en_SC': 'English (Seychelles)',
'en_SD': 'English (Sudan)',
'en_SG': 'English (Singapore)',
'en_SH': 'English (St. Helena)',
'en_SL': 'English (Sierra Leone)',
'en_SS': 'English (South Sudan)',
'en_SX': 'English (Sint Maarten)',
'en_SZ': 'English (Swaziland)',
'en_TC': 'English (Turks & Caicos Islands)',
'en_TK': 'English (Tokelau)',
'en_TO': 'English (Tonga)',
'en_TT': 'English (Trinidad & Tobago)',
'en_TV': 'English (Tuvalu)',
'en_TZ': 'English (Tanzania)',
'en_UG': 'English (Uganda)',
'en_UM': 'English (U.S. Outlying Islands)',
'en_US': 'English (United States)',
'en_VC': 'English (St. Vincent & Grenadines)',
'en_VG': 'English (British Virgin Islands)',
'en_VI': 'English (U.S. Virgin Islands)',
'en_VU': 'English (Vanuatu)',
'en_WS': 'English (Samoa)',
'en_ZA': 'English (South Africa)',
'en_ZM': 'English (Zambia)',
'en_ZW': 'English (Zimbabwe)',
'eo': 'esperanto',
'es': 'español',
'es_AR': 'español (Argentina)',
'es_BO': 'español (Bolivia)',
'es_CL': 'español (Chile)',
'es_CO': 'español (Colombia)',
'es_CR': 'español (Costa Rica)',
'es_CU': 'español (Cuba)',
'es_DO': 'español (República Dominicana)',
'es_EA': 'español (Ceuta y Melilla)',
'es_EC': 'español (Ecuador)',
'es_ES': 'español (España)',
'es_GQ': 'español (Guinea Ecuatorial)',
'es_GT': 'español (Guatemala)',
'es_HN': 'español (Honduras)',
'es_IC': 'español (islas Canarias)',
'es_MX': 'español (México)',
'es_NI': 'español (Nicaragua)',
'es_PA': 'español (Panamá)',
'es_PE': 'español (Perú)',
'es_PH': 'español (Filipinas)',
'es_PR': 'español (Puerto Rico)',
'es_PY': 'español (Paraguay)',
'es_SV': 'español (El Salvador)',
'es_US': 'español (Estados Unidos)',
'es_UY': 'español (Uruguay)',
'es_VE': 'español (Venezuela)',
'et': 'eesti',
'et_EE': 'eesti (Eesti)',
'eu': 'euskara',
'eu_ES': 'euskara (Espainia)',
'fa': 'فارسی',
'fa_AF': 'دری (افغانستان)',
'fa_IR': 'فارسی (ایران)',
'ff': 'Pulaar',
'ff_CM': 'Pulaar (Kameruun)',
'ff_GN': 'Pulaar (Gine)',
'ff_MR': 'Pulaar (Muritani)',
'ff_SN': 'Pulaar (Senegaal)',
'fi': 'suomi',
'fi_FI': 'suomi (Suomi)',
'fo': 'føroyskt',
'fo_FO': 'føroyskt (Føroyar)',
'fr': 'français',
'fr_BE': 'français (Belgique)',
'fr_BF': 'français (Burkina Faso)',
'fr_BI': 'français (Burundi)',
'fr_BJ': 'français (Bénin)',
'fr_BL': 'français (Saint-Barthélemy)',
'fr_CA': 'français (Canada)',
'fr_CD': 'français (Congo-Kinshasa)',
'fr_CF': 'français (République centrafricaine)',
'fr_CG': 'français (Congo-Brazzaville)',
'fr_CH': 'français (Suisse)',
'fr_CI': 'français (Côte d’Ivoire)',
'fr_CM': 'français (Cameroun)',
'fr_DJ': 'français (Djibouti)',
'fr_DZ': 'français (Algérie)',
'fr_FR': 'français (France)',
'fr_GA': 'français (Gabon)',
'fr_GF': 'français (Guyane française)',
'fr_GN': 'français (Guinée)',
'fr_GP': 'français (Guadeloupe)',
'fr_GQ': 'français (Guinée équatoriale)',
'fr_HT': 'français (Haïti)',
'fr_KM': 'français (Comores)',
'fr_LU': 'français (Luxembourg)',
'fr_MA': 'français (Maroc)',
'fr_MC': 'français (Monaco)',
'fr_MF': 'français (Saint-Martin (partie française))',
'fr_MG': 'français (Madagascar)',
'fr_ML': 'français (Mali)',
'fr_MQ': 'français (Martinique)',
'fr_MR': 'français (Mauritanie)',
'fr_MU': 'français (Maurice)',
'fr_NC': 'français (Nouvelle-Calédonie)',
'fr_NE': 'français (Niger)',
'fr_PF': 'français (Polynésie française)',
'fr_PM': 'français (Saint-Pierre-et-Miquelon)',
'fr_RE': 'français (La Réunion)',
'fr_RW': 'français (Rwanda)',
'fr_SC': 'français (Seychelles)',
'fr_SN': 'français (Sénégal)',
'fr_SY': 'français (Syrie)',
'fr_TD': 'français (Tchad)',
'fr_TG': 'français (Togo)',
'fr_TN': 'français (Tunisie)',
'fr_VU': 'français (Vanuatu)',
'fr_WF': 'français (Wallis-et-Futuna)',
'fr_YT': 'français (Mayotte)',
'fy': 'West-Frysk',
'fy_NL': 'West-Frysk (Nederlân)',
'ga': 'Gaeilge',
'ga_IE': 'Gaeilge (Éire)',
'gd': 'Gàidhlig',
'gd_GB': 'Gàidhlig (An Rìoghachd Aonaichte)',
'gl': 'galego',
'gl_ES': 'galego (España)',
'gu': 'ગુજરાતી',
'gu_IN': 'ગુજરાતી (ભારત)',
'gv': 'Gaelg',
'gv_IM': 'Gaelg (Ellan Vannin)',
'ha': 'Hausa',
'ha_GH': 'Hausa (Gana)',
'ha_Latn': 'Hausa (Latin)',
'ha_Latn_GH': 'Hausa (Latin, Ghana)',
'ha_Latn_NE': 'Hausa (Latin, Niger)',
'ha_Latn_NG': 'Hausa (Latin, Nigeria)',
'ha_NE': 'Hausa (Nijar)',
'ha_NG': 'Hausa (Najeriya)',
'he': 'עברית',
'he_IL': 'עברית (ישראל)',
'hi': 'हिंदी',
'hi_IN': 'हिंदी (भारत)',
'hr': 'hrvatski',
'hr_BA': 'hrvatski (Bosna i Hercegovina)',
'hr_HR': 'hrvatski (Hrvatska)',
'hu': 'magyar',
'hu_HU': 'magyar (Magyarország)',
'hy': 'հայերեն',
'hy_AM': 'հայերեն (Հայաստան)',
'id': 'Bahasa Indonesia',
'id_ID': 'Bahasa Indonesia (Indonesia)',
'ig': 'Igbo',
'ig_NG': 'Igbo (Nigeria)',
'ii': 'ꆈꌠꉙ',
'ii_CN': 'ꆈꌠꉙ (ꍏꇩ)',
'is': 'íslenska',
'is_IS': 'íslenska (Ísland)',
'it': 'italiano',
'it_CH': 'italiano (Svizzera)',
'it_IT': 'italiano (Italia)',
'it_SM': 'italiano (San Marino)',
'ja': '日本語',
'ja_JP': '日本語 (日本)',
'ka': 'ქართული',
'ka_GE': 'ქართული (საქართველო)',
'ki': 'Gikuyu',
'ki_KE': 'Gikuyu (Kenya)',
'kk': 'қазақ тілі',
'kk_Cyrl': 'қазақ тілі (кирилл жазуы)',
'kk_Cyrl_KZ': 'қазақ тілі (кирилл жазуы, Қазақстан)',
'kk_KZ': 'қазақ тілі (Қазақстан)',
'kl': 'kalaallisut',
'kl_GL': 'kalaallisut (Kalaallit Nunaat)',
'km': 'ខ្មែរ',
'km_KH': 'ខ្មែរ (កម្ពុជា)',
'kn': 'ಕನ್ನಡ',
'kn_IN': 'ಕನ್ನಡ (ಭಾರತ)',
'ko': '한국어',
'ko_KP': '한국어 (조선 민주주의 인민 공화국)',
'ko_KR': '한국어 (대한민국)',
'ks': 'کٲشُر',
'ks_Arab': 'کٲشُر (اَربی)',
'ks_Arab_IN': 'کٲشُر (اَربی, ہِنٛدوستان)',
'ks_IN': 'کٲشُر (ہِنٛدوستان)',
'kw': 'kernewek',
'kw_GB': 'kernewek (Rywvaneth Unys)',
'ky': 'кыргызча',
'ky_Cyrl': 'кыргызча (Кирилик)',
'ky_Cyrl_KG': 'кыргызча (Кирилик, Кыргызстан)',
'ky_KG': 'кыргызча (Кыргызстан)',
'lb': 'Lëtzebuergesch',
'lb_LU': 'Lëtzebuergesch (Lëtzebuerg)',
'lg': 'Luganda',
'lg_UG': 'Luganda (Yuganda)',
'ln': 'lingála',
'ln_AO': 'lingála (Angóla)',
'ln_CD': 'lingála (Repibiki demokratiki ya Kongó)',
'ln_CF': 'lingála (Repibiki ya Afríka ya Káti)',
'ln_CG': 'lingála (Kongo)',
'lo': 'ລາວ',
'lo_LA': 'ລາວ (ລາວ)',
'lt': 'lietuvių',
'lt_LT': 'lietuvių (Lietuva)',
'lu': 'Tshiluba',
'lu_CD': 'Tshiluba (Ditunga wa Kongu)',
'lv': 'latviešu',
'lv_LV': 'latviešu (Latvija)',
'mg': 'Malagasy',
'mg_MG': 'Malagasy (Madagasikara)',
'mk': 'македонски',
'mk_MK': 'македонски (Македонија)',
'ml': 'മലയാളം',
'ml_IN': 'മലയാളം (ഇന്ത്യ)',
'mn': 'монгол',
'mn_Cyrl': 'монгол (кирил)',
'mn_Cyrl_MN': 'монгол (кирил, Монгол)',
'mn_MN': 'монгол (Монгол)',
'mr': 'मराठी',
'mr_IN': 'मराठी (भारत)',
'ms': 'Bahasa Melayu',
'ms_BN': 'Bahasa Melayu (Brunei)',
'ms_Latn': 'Bahasa Melayu (Latin)',
'ms_Latn_BN': 'Bahasa Melayu (Latin, Brunei)',
'ms_Latn_MY': 'Bahasa Melayu (Latin, Malaysia)',
'ms_Latn_SG': 'Bahasa Melayu (Latin, Singapura)',
'ms_MY': 'Bahasa Melayu (Malaysia)',
'ms_SG': 'Bahasa Melayu (Singapura)',
'mt': 'Malti',
'mt_MT': 'Malti (Malta)',
'my': 'ဗမာ',
'my_MM': 'ဗမာ (မြန်မာ)',
'nb': 'norsk bokmål',
'nb_NO': 'norsk bokmål (Norge)',
'nb_SJ': 'norsk bokmål (Svalbard og Jan Mayen)',
'nd': 'isiNdebele',
'nd_ZW': 'isiNdebele (Zimbabwe)',
'ne': 'नेपाली',
'ne_IN': 'नेपाली (भारत)',
'ne_NP': 'नेपाली (नेपाल)',
'nl': 'Nederlands',
'nl_AW': 'Nederlands (Aruba)',
'nl_BE': 'Nederlands (België)',
'nl_BQ': 'Nederlands (Caribisch Nederland)',
'nl_CW': 'Nederlands (Curaçao)',
'nl_NL': 'Nederlands (Nederland)',
'nl_SR': 'Nederlands (Suriname)',
'nl_SX': 'Nederlands (Sint-Maarten)',
'nn': 'nynorsk',
'nn_NO': 'nynorsk (Noreg)',
'no': 'Norwegian',
'no_NO': 'Norwegian (Norway)',
'om': 'Oromoo',
'om_ET': 'Oromoo (Itoophiyaa)',
'om_KE': 'Oromoo (Keeniyaa)',
'or': 'ଓଡ଼ିଆ',
'or_IN': 'ଓଡ଼ିଆ (ଭାରତ)',
'os': 'ирон',
'os_GE': 'ирон (Гуырдзыстон)',
'os_RU': 'ирон (Уӕрӕсе)',
'pa': 'ਪੰਜਾਬੀ',
'pa_Arab': 'پنجابی (عربی)',
'pa_Arab_PK': 'پنجابی (عربی, پکستان)',
'pa_Guru': 'ਪੰਜਾਬੀ (ਗੁਰਮੁਖੀ)',
'pa_Guru_IN': 'ਪੰਜਾਬੀ (ਗੁਰਮੁਖੀ, ਭਾਰਤ)',
'pa_IN': 'ਪੰਜਾਬੀ (ਭਾਰਤ)',
'pa_PK': 'ਪੰਜਾਬੀ (ਪਾਕਿਸਤਾਨ)',
'pl': 'polski',
'pl_PL': 'polski (Polska)',
'ps': 'پښتو',
'ps_AF': 'پښتو (افغانستان)',
'pt': 'português',
'pt_AO': 'português (Angola)',
'pt_BR': 'português (Brasil)',
'pt_CV': 'português (Cabo Verde)',
'pt_GW': 'português (Guiné Bissau)',
'pt_MO': 'português (Macau, RAE da China)',
'pt_MZ': 'português (Moçambique)',
'pt_PT': 'português (Portugal)',
'pt_ST': 'português (São Tomé e Príncipe)',
'pt_TL': 'português (Timor-Leste)',
'qu': 'Runasimi',
'qu_BO': 'Runasimi (Bolivia)',
'qu_EC': 'Runasimi (Ecuador)',
'qu_PE': 'Runasimi (Perú)',
'rm': 'rumantsch',
'rm_CH': 'rumantsch (Svizra)',
'rn': 'Ikirundi',
'rn_BI': 'Ikirundi (Uburundi)',
'ro': 'română',
'ro_MD': 'română (Republica Moldova)',
'ro_RO': 'română (România)',
'ru': 'русский',
'ru_BY': 'русский (Беларусь)',
'ru_KG': 'русский (Киргизия)',
'ru_KZ': 'русский (Казахстан)',
'ru_MD': 'русский (Молдова)',
'ru_RU': 'русский (Россия)',
'ru_UA': 'русский (Украина)',
'rw': 'Kinyarwanda',
'rw_RW': 'Kinyarwanda (Rwanda)',
'se': 'davvisámegiella',
'se_FI': 'davvisámegiella (Suopma)',
'se_NO': 'davvisámegiella (Norga)',
'se_SE': 'davvisámegiella (Ruoŧŧa)',
'sg': 'Sängö',
'sg_CF': 'Sängö (Ködörösêse tî Bêafrîka)',
'sh': 'Serbo-Croatian',
'sh_BA': 'Serbo-Croatian (Bosnia & Herzegovina)',
'si': 'සිංහල',
'si_LK': 'සිංහල (ශ්රී ලංකාව)',
'sk': 'slovenčina',
'sk_SK': 'slovenčina (Slovensko)',
'sl': 'slovenščina',
'sl_SI': 'slovenščina (Slovenija)',
'sn': 'chiShona',
'sn_ZW': 'chiShona (Zimbabwe)',
'so': 'Soomaali',
'so_DJ': 'Soomaali (Jabuuti)',
'so_ET': 'Soomaali (Itoobiya)',
'so_KE': 'Soomaali (Kiiniya)',
'so_SO': 'Soomaali (Soomaaliya)',
'sq': 'shqip',
'sq_AL': 'shqip (Shqipëri)',
'sq_MK': 'shqip (Maqedoni)',
'sq_XK': 'shqip (Kosovë)',
'sr': 'српски',
'sr_BA': 'српски (Босна и Херцеговина)',
'sr_CY': 'српски (ћирилица)',
'sr_Cyrl_BA': 'српски (ћирилица, Босна и Херцеговина)',
'sr_Cyrl_ME': 'српски (ћирилица, Црна Гора)',
'sr_Cyrl_RS': 'српски (ћирилица, Србија)',
'sr_Cyrl_XK': 'српски (ћирилица, Косово)',
'sr_Latn': 'srpski (latinica)',
'sr_Latn_BA': 'srpski (latinica, Bosna i Hercegovina)',
'sr_Latn_ME': 'srpski (latinica, Crna Gora)',
'sr_Latn_RS': 'srpski (latinica, Srbija)',
'sr_Latn_XK': 'srpski (latinica, Kosovo)',
'sr_ME': 'српски (Црна Гора)',
'sr_RS': 'српски (Србија)',
'sr_XK': 'српски (Косово)',
'sv': 'svenska',
'sv_AX': 'svenska (Åland)',
'sv_FI': 'svenska (Finland)',
'sv_SE': 'svenska (Sverige)',
'sw': 'Kiswahili',
'sw_KE': 'Kiswahili (Kenya)',
'sw_TZ': 'Kiswahili (Tanzania)',
'sw_UG': 'Kiswahili (Uganda)',
'ta': 'தமிழ்',
'ta_IN': 'தமிழ் (இந்தியா)',
'ta_LK': 'தமிழ் (இலங்கை)',
'ta_MY': 'தமிழ் (மலேஷியா)',
'ta_SG': 'தமிழ் (சிங்கப்பூர்)',
'te': 'తెలుగు',
'te_IN': 'తెలుగు (భారత దేశం)',
'th': 'ไทย',
'th_TH': 'ไทย (ไทย)',
'ti': 'ትግርኛ',
'ti_ER': 'Tigrinya (Eritrea)',
'ti_ET': 'Tigrinya (Ethiopia)',
'tl': 'Tagalog',
'tl_PH': 'Tagalog (Philippines)',
'to': 'lea fakatonga',
'to_TO': 'lea fakatonga (Tonga)',
'tr': 'Türkçe',
'tr_CY': 'Türkçe (Güney Kıbrıs Rum Kesimi)',
'tr_TR': 'Türkçe (Türkiye)',
'ug': 'ئۇيغۇرچە',
'ug_Arab': 'ئۇيغۇرچە (ئەرەب)',
'ug_Arab_CN': 'ئۇيغۇرچە (ئەرەب, جۇڭگو)',
'ug_CN': 'ئۇيغۇرچە (جۇڭگو)',
'uk': 'українська',
'uk_UA': 'українська (Україна)',
'ur': 'اردو',
'ur_IN': 'اردو (بھارت)',
'ur_PK': 'اردو (پاکستان)',
'uz': 'oʻzbekcha',
'uz_AF': 'oʻzbekcha (Afgʻoniston)',
'uz_Arab': 'اوزبیک (عربی)',
'uz_Arab_AF': 'اوزبیک (عربی, افغانستان)',
'uz_Cyrl': 'Ўзбек (Кирил)',
'uz_Cyrl_UZ': 'Ўзбек (Кирил, Ўзбекистон)',
'uz_Latn': 'oʻzbekcha (Lotin)',
'uz_Latn_UZ': 'oʻzbekcha (Lotin, Oʻzbekiston)',
'uz_UZ': 'oʻzbekcha (Oʻzbekiston)',
'vi': 'Tiếng Việt',
'vi_VN': 'Tiếng Việt (Việt Nam)',
'yi': 'ייִדיש',
'yo': 'Èdè Yorùbá',
'yo_BJ': 'Èdè Yorùbá (Orílɛ́ède Bɛ̀nɛ̀)',
'yo_NG': 'Èdè Yorùbá (Orílẹ́ède Nàìjíríà)',
'zh': '中文',
'zh_CN': '中文 (中国)',
'zh_HK': '中文 (中国香港特别行政区)',
'zh_Hans': '中文 (简体中文)',
'zh_Hans_CN': '中文 (简体中文, 中国)',
'zh_Hans_HK': '中文 (简体中文, 中国香港特别行政区)',
'zh_Hans_MO': '中文 (简体中文, 中国澳门特别行政区)',
'zh_Hans_SG': '中文 (简体中文, 新加坡)',
'zh_Hant': '中文 (繁體)',
'zh_Hant_HK': '中文 (繁體字, 中華人民共和國香港特別行政區)',
'zh_Hant_MO': '中文 (繁體, 中華人民共和國澳門特別行政區)',
'zh_Hant_TW': '中文 (繁體, 台灣)',
'zh_MO': '中文 (中国澳门特别行政区)',
'zh_SG': '中文 (新加坡)',
'zh_TW': '中文 (台湾)',
'zu': 'isiZulu',
'zu_ZA': 'isiZulu (i-South Africa)',
};
| 0 |
mirrored_repositories/app_store/lib | mirrored_repositories/app_store/lib/providers/locale_provider.dart | /*
Copyright 2022 The dahliaOS Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import 'package:app_store/generated/locale.dart';
import 'package:app_store/utils/preferences.dart';
import 'package:intl/locale.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:yatl_flutter/yatl_flutter.dart';
import 'package:yatl_gen/yatl_gen.dart';
class _LocaleProviders {
_LocaleProviders._();
static final _LocaleProviders instance = _LocaleProviders._();
static const GeneratedLocales _locales = GeneratedLocales();
late YatlCore _yatl;
late GeneratedLocaleStrings _strings;
late AppPreferences _preferences;
Future<void> init() async {
_yatl = YatlCore(
loader: const LocalesTranslationsLoader(_locales),
supportedLocales: _locales.supportedLocales,
fallbackLocale: Locale.parse('en_US'),
);
_strings = GeneratedLocaleStrings(_yatl);
_preferences = AppPreferences(await SharedPreferences.getInstance());
}
}
_LocaleProviders get _instance => _LocaleProviders.instance;
Future<void> initProviders() async => _instance.init();
YatlCore get yatl => _instance._yatl;
GeneratedLocales get locales => _LocaleProviders._locales;
GeneratedLocaleStrings get strings => _instance._strings;
AppPreferences get preferences => _instance._preferences;
| 0 |
mirrored_repositories/app_store/lib | mirrored_repositories/app_store/lib/providers/filter_provider.dart | /*
Copyright 2022 The dahliaOS Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import 'package:app_store/models/app/app_item_model.dart';
import 'package:app_store/models/buttons/chip_button_model.dart';
import 'package:flutter/material.dart';
import 'package:pub_semver/pub_semver.dart';
List<AppItemModel> appItems = <AppItemModel>[
AppItemModel(
name: 'Figma',
rating: 5,
categories: const {AppCategory.design, AppCategory.productivity},
id: 1,
icon: Image.network(
'https://seeklogo.com/images/F/figma-logo-E4E21D3AEA-seeklogo.com.png',
),
version: Version(116, 0, 5),
briefDescription: 'Figma is a vector graphics editor and prototyping tool.',
description:
'Figma is a vector graphics editor and prototyping tool which is primarily web-based, with additional offline features enabled by desktop applications for macOS and Windows. The Figma mobile app for Android and iOS allow viewing and interacting with Figma prototypes in real-time mobile devices.',
developers: const ['Figma, Inc'],
technologies: const ['C++', 'WebAssembly'],
locales: const ['English'],
appSize: 90,
source: AppSources.proprietary,
donationLinks: const {},
),
AppItemModel(
name: 'Spotify',
rating: 5,
categories: const {AppCategory.music, AppCategory.entertainment},
id: 2,
icon: Image.network(
'https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Spotify_logo_without_text.svg/2048px-Spotify_logo_without_text.svg.png',
),
version: Version(1, 1, 89),
briefDescription: 'Spotify is a digital music, podcast, and video service.',
description:
'Spotify is a digital music, podcast, and video service that gives you access to millions of songs and other content from creators all over the world',
developers: const ['Spotify Technology S.A'],
technologies: const ['Python', 'C++', 'C', 'Java'],
locales: const ['English'],
appSize: 120,
source: AppSources.proprietary,
donationLinks: const {},
),
AppItemModel(
name: 'VS Code',
rating: 5,
categories: const {AppCategory.development, AppCategory.tools},
id: 3,
icon: Image.network(
'https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Visual_Studio_Code_1.35_icon.svg/2048px-Visual_Studio_Code_1.35_icon.svg.png',
),
version: Version(1, 69, 1),
briefDescription: 'Visual Studio Code is a source-code editor.',
description:
'Visual Studio Code, also commonly referred to as VS Code, is a source-code editor made by Microsoft for Windows, Linux and macOS',
developers: const ['Microsoft'],
technologies: const ['JavaScript', 'Java', 'TypeScript', 'CSS'],
locales: const ['English'],
appSize: 190,
source: AppSources.foss,
donationLinks: const {},
),
AppItemModel(
name: 'Graft',
rating: 5,
categories: const {AppCategory.tools},
id: 4,
icon: Image.network(
'https://raw.githubusercontent.com/dahliaOS/brand/master/Applications/Graft/png/logomark.png',
),
version: Version(1, 0, 0),
briefDescription:
'Graft is an application for managing virtual machines and containers on dahliaOS.',
description:
'Graft is an application for managing virtual machines and containers on dahliaOS.',
developers: const ['dahliaOS'],
technologies: const ['Flutter', 'Dart'],
locales: const ['English'],
appSize: 30,
source: AppSources.foss,
donationLinks: const {
'Open Collective': 'https://opencollective.com/dahliaos'
},
),
AppItemModel(
name: 'Leaflet',
rating: 5,
categories: const {AppCategory.productivity},
id: 5,
icon: Image.network(
'https://raw.githubusercontent.com/PotatoProject/Leaflet/main/web/favicon.png',
),
version: Version(2, 0, 0),
briefDescription: 'Leaflet is a notes application developed for POSP.',
description: 'Leaflet is a notes application developed for POSP.',
developers: const ['Davide Bianco'],
technologies: const ['Flutter', 'Dart'],
locales: const ['English'],
appSize: 40,
source: AppSources.foss,
donationLinks: const {
'Open Colletive': 'https://opencollective.com/leaflet',
},
),
AppItemModel(
name: 'Discord',
rating: 5,
categories: const {AppCategory.communication},
id: 6,
icon: Image.network(
'https://logodownload.org/wp-content/uploads/2017/11/discord-logo-8-1.png',
),
version: Version(0, 0, 267),
briefDescription:
'Discord is a VoIP and instant messaging social platform.',
description:
'Discord is a VoIP and instant messaging social platform. Users have the ability to communicate with voice calls, video calls, text messaging, media and files in private chats or as part of communities called "servers". A server is a collection of persistent chat rooms and voice channels which can be accessed via invite links. Discord runs on Windows, macOS, Android, iOS, iPadOS, Linux, and in web browsers.',
developers: const ['Discord, Inc'],
technologies: const [
'JavaScript',
'React',
'Elixir',
'Python',
'Rust',
'C++'
],
locales: const ['English'],
appSize: 260,
source: AppSources.proprietary,
donationLinks: const {},
),
AppItemModel(
name: 'Linear',
rating: 5,
categories: const {AppCategory.productivity, AppCategory.tools},
id: 7,
icon: Image.network(
'https://asset.brandfetch.io/iduDa181eM/idOReMseAv.png',
),
version: Version(1, 8, 0),
briefDescription: 'Linear is an application for tracking issues.',
description:
'Linear helps streamline software projects, sprints, tasks, and bug tracking. It’s built for high-performance teams.',
developers: const ['Linear Orbit, Inc.'],
technologies: const ['JavaScript', 'React', 'TypeScript'],
locales: const ['English'],
appSize: 100,
source: AppSources.proprietary,
donationLinks: const {},
),
AppItemModel(
name: 'Minecraft',
rating: 5,
categories: const {AppCategory.games, AppCategory.entertainment},
id: 8,
icon: Image.network(
'https://play-lh.googleusercontent.com/VSwHQjcAttxsLE47RuS4PqpC4LT7lCoSjE7Hx5AW_yCxtDvcnsHHvm5CTuL5BPN-uRTP',
),
version: Version(1, 8, 0),
briefDescription: 'Minecraft is a sandbox video game developed by Mojang.',
description:
'Minecraft is a sandbox video game developed by Mojang. The game was created by Markus "Notch" Persson in the Java programming language. Following several early private testing versions, it was first made public in May 2009 before fully releasing in November 2011, with Notch stepping down and Jens "Jeb" Bergensten taking over development.',
developers: const ['Mojang Studios'],
technologies: const ['Java', 'C++'],
locales: const ['English'],
appSize: 400,
source: AppSources.proprietary,
donationLinks: const {},
),
AppItemModel(
name: 'Square Charge',
rating: 5,
categories: const {AppCategory.finance, AppCategory.business},
id: 9,
icon: Image.network(
'https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/Square%2C_Inc._-_Square_logo.svg/240px-Square%2C_Inc._-_Square_logo.svg.png',
),
version: Version(3, 4, 0),
briefDescription: 'Square Charge is a desktop app for digital payments',
description:
'Never miss a sale again with Square Charge for Desktop, a free app that lets you process digital payments quickly and easily no matter where you are.',
developers: const ['Block, Inc.'],
technologies: const ['Objective-C', 'Swift'],
locales: const ['English'],
appSize: 70,
source: AppSources.proprietary,
donationLinks: const {},
),
AppItemModel(
name: 'Duolingo',
rating: 5,
categories: const {AppCategory.education},
id: 10,
icon: Image.network(
'https://seeklogo.com/images/D/duolingo-logo-23407F109C-seeklogo.com.png',
),
version: Version(2, 2, 0),
briefDescription: 'Duolingo is a free language-learning platform.',
description:
'With Duoligno users can practice vocabulary, grammar, and pronunciation using spaced repetition. Duolingo offers over 100 total courses across 41 distinct languages, from Spanish, French, German and Japanese to Navajo and Yiddish. It also includes a small variety of constructed languages.',
developers: const ['Duolingo, Inc.'],
technologies: const [
'Swift',
'Kotlin',
'React',
'Python',
'Scala',
'JavaScript'
],
locales: const ['English'],
appSize: 340,
source: AppSources.proprietary,
donationLinks: const {},
),
AppItemModel(
name: 'Workrave',
rating: 5,
categories: const {AppCategory.fitness, AppCategory.health},
id: 11,
icon: Image.network(
'https://www.zwodnik.com/media/cache/30/95/3095324eb4d446d6930f1354d52d4190.png',
),
version: Version(1, 99, 6),
briefDescription:
'Workrave is a free program that assists in the recovery and prevention of Repetitive Strain Injury (RSI).',
description:
'Workrave monitors your keyboard and mouse usage and using this information, it frequently alerts you to take microbreaks, rest breaks and restricts you to your daily computer usage.',
developers: const ['Rob Caelers'],
technologies: const [
'C++',
'C',
],
locales: const ['English'],
appSize: 50,
source: AppSources.foss,
donationLinks: const {},
),
];
class FilterProvider with ChangeNotifier {
FilterProvider(this._appsFilter);
Set<AppItemModel> _appsFilter = {};
Set<AppItemModel> getAppFilter() => _appsFilter;
Future<void> setAppFilter(List<AppItemModel> allApps) async {
_appsFilter = allApps.toSet();
notifyListeners();
}
Future<void> retainInAppFilter(ChipButtonModel e) async {
_appsFilter.retainWhere(
(element) => element.categories.any(
(element) => element == e.category,
),
);
notifyListeners();
}
Future<void> removeInAppFilter(ChipButtonModel e) async {
_appsFilter.removeWhere(
(element) => element.categories.any((element) => element == e.category),
);
notifyListeners();
}
Future<void> addInAppFilter(ChipButtonModel e) async {
_appsFilter.addAll(
appItems.where(
(element) => element.categories.any((element) => element == e.category),
),
);
notifyListeners();
}
Future<void> clearAddAllInFilter(ChipButtonModel e) async {
_appsFilter
..clear()
..addAll(appItems);
notifyListeners();
}
}
| 0 |
mirrored_repositories/app_store/lib | mirrored_repositories/app_store/lib/providers/theme_provider.dart | /*
Copyright 2022 The dahliaOS Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
class ThemeProvider with ChangeNotifier {
ThemeProvider({required this.themeData, required this.themeSwitched});
ThemeData themeData;
bool themeSwitched;
ThemeData getTheme() => themeData;
bool getThemeSwitched() => themeSwitched;
Future<void> setTheme(ThemeData value) async {
themeData = value;
notifyListeners();
}
Future<void> setThemeSwitched({required bool value}) async {
themeSwitched = value;
notifyListeners();
}
}
ThemeData theme(BuildContext context) {
final ThemeProvider _themeprovider = Provider.of<ThemeProvider>(context);
return _themeprovider.getTheme();
}
| 0 |
mirrored_repositories/food_app_flutter | mirrored_repositories/food_app_flutter/lib/Constants.dart | import 'package:flutter/material.dart';
class Constants {
static const String checkout = "Checkout";
static const String settings = "Settings";
static const List<String> choices = <String>["Checkout", "Settings"];
static List items = <String>[];
static BuildContext context;
}
| 0 |
mirrored_repositories/food_app_flutter | mirrored_repositories/food_app_flutter/lib/main.dart | import 'package:flutter/material.dart';
import 'app_screens/main_screen.dart';
void main() => runApp(MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Widgets',
home: MainScreen()));
| 0 |
mirrored_repositories/food_app_flutter/lib | mirrored_repositories/food_app_flutter/lib/app_screens/CheckoutPageScreen.dart | import 'package:flutter/material.dart';
import 'main_screen.dart';
import '../Constants.dart';
class CheckoutPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Checkout Page',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Scaffold(
appBar: AppBar(title: Text('Checkout Page')),
body: Container(
margin: EdgeInsets.all(10.0),
child: getTextWidgets(Constants.items))));
}
}
| 0 |
mirrored_repositories/food_app_flutter/lib | mirrored_repositories/food_app_flutter/lib/app_screens/main_screen.dart | import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../Constants.dart';
import 'ListViewScreen.dart';
import 'CheckoutPageScreen.dart';
class MainScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
Constants.context = context;
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.teal,
),
home: Scaffold(
appBar: AppBar(
title: Text('Food App'),
actions: <Widget>[
PopupMenuButton<String>(
onSelected: showMenuOptions,
itemBuilder: (BuildContext context) {
return Constants.choices.map((String choice) {
return PopupMenuItem<String>(
value: choice,
child: Text(choice),
);
}).toList();
},
)
],
),
body: ListViewLayout(),
),
);
}
}
void showMenuOptions(String choice) {
if (choice == Constants.settings) {
print('Settings');
} else if (choice == Constants.checkout) {
print(choice);
Navigator.push(
Constants.context,
MaterialPageRoute(builder: (context) => CheckoutPage()),
);
}
}
Widget getTextWidgets(List<String> strings) {
List<Widget> list = new List<Widget>();
for (var i = 0; i < strings.length; i++) {
list.add(new Text(strings[i]));
}
return new Row(
children: list);
}
addString(String item, List<String> items) async {
SharedPreferences prefs = await SharedPreferences.getInstance();
items.add(item);
prefs.setStringList('item', items);
}
getString(String item, List<String> items) async {
SharedPreferences prefs = await SharedPreferences.getInstance();
items.remove(item);
prefs.setStringList('item', items);
}
| 0 |
mirrored_repositories/food_app_flutter/lib | mirrored_repositories/food_app_flutter/lib/app_screens/ListViewScreen.dart | import 'package:flutter/material.dart';
import 'main_screen.dart';
import '../Constants.dart';
class ListViewLayout extends StatelessWidget {
@override
Widget build(BuildContext context) {
return listView(context);
}
}
Widget listView(BuildContext context) {
final foodList = [
'Burger',
'Pizza',
'Pasta',
'Butter chicken',
'Macroni',
'Paneer',
'Sandwich',
'Maggi',
'Burger',
'Pizza',
'Icecream',
'Cold drinks',
'Sweet',
'Beverages',
'Pasta'
];
final foodIcons = [
Icons.fastfood,
Icons.local_pizza,
Icons.restaurant,
Icons.restaurant_menu,
Icons.fastfood,
Icons.room_service,
Icons.restaurant,
Icons.restaurant_menu,
Icons.room_service,
Icons.local_pizza,
Icons.restaurant,
Icons.restaurant_menu,
Icons.fastfood,
Icons.local_pizza,
Icons.room_service,
];
return ListView.builder(
itemCount: foodList.length,
itemBuilder: (context, index) {
return Card(
child: ListTile(
leading: Icon(foodIcons[index]),
title: Text(foodList[index]),
trailing: Row(mainAxisSize: MainAxisSize.min, children: <Widget>[
IconButton(
icon: new Icon(Icons.add),
color: Colors.green,
onPressed: () {
addString(foodList[index], Constants.items);
}),
IconButton(
icon: new Icon(Icons.remove),
color: Colors.red,
onPressed: () {
getString(foodList[index], Constants.items);
}),
])));
},
);
}
| 0 |
mirrored_repositories/food_app_flutter | mirrored_repositories/food_app_flutter/test/widget_test.dart | // This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:food_app/main.dart';
void main() {
}
| 0 |
mirrored_repositories/Evyan-Todo-App | mirrored_repositories/Evyan-Todo-App/lib/main.dart | import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:hive_flutter/adapters.dart';
import 'core/app_export.dart';
import 'data/hive_data_store.dart';
import 'data/models/task.dart';
Future<void> main() async {
/// Initial Hive DB
await Hive.initFlutter();
/// Register Hive Adapter
Hive.registerAdapter<Task>(TaskAdapter());
/// Open box
var box = await Hive.openBox<Task>("tasksBox");
/// Delete data from previous day
// ignore: avoid_function_literals_in_foreach_calls
box.values.forEach((task) {
if (task.createdAtTime.day != DateTime.now().day) {
task.delete();
} else {}
});
WidgetsFlutterBinding.ensureInitialized();
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
]).then((value) {
Logger.init(kReleaseMode ? LogMode.live : LogMode.debug);
runApp(BaseWidget(child: MyApp()));
});
}
class BaseWidget extends InheritedWidget {
BaseWidget({Key? key, required this.child}) : super(key: key, child: child);
final HiveDataStore dataStore = HiveDataStore();
final Widget child;
static BaseWidget of(BuildContext context) {
final base = context.dependOnInheritedWidgetOfExactType<BaseWidget>();
if (base != null) {
return base;
} else {
throw StateError('Could not find ancestor widget of type BaseWidget');
}
}
@override
bool updateShouldNotify(covariant InheritedWidget oldWidget) {
return false;
}
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return Sizer(builder: (context, orientation, deviceType) {
return GetMaterialApp(
debugShowCheckedModeBanner: false,
theme: theme,
translations: AppLocalization(),
locale: Get.deviceLocale, //for setting localization strings
fallbackLocale: Locale('en', 'US'),
title: 'todo_app',
initialBinding: InitialBindings(),
initialRoute: AppRoutes.splashScreen,
getPages: AppRoutes.pages,
);
});
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/custom_button.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
class CustomButton extends StatelessWidget {
CustomButton(
{this.shape,
this.padding,
this.variant,
this.fontStyle,
this.alignment,
this.margin,
this.onTap,
this.width,
this.height,
this.text,
this.prefixWidget,
this.suffixWidget});
ButtonShape? shape;
ButtonPadding? padding;
ButtonVariant? variant;
ButtonFontStyle? fontStyle;
Alignment? alignment;
EdgeInsetsGeometry? margin;
VoidCallback? onTap;
double? width;
double? height;
String? text;
Widget? prefixWidget;
Widget? suffixWidget;
@override
Widget build(BuildContext context) {
return alignment != null
? Align(
alignment: alignment!,
child: _buildButtonWidget(),
)
: _buildButtonWidget();
}
_buildButtonWidget() {
return Padding(
padding: margin ?? EdgeInsets.zero,
child: TextButton(
onPressed: onTap,
style: _buildTextButtonStyle(),
child: _buildButtonWithOrWithoutIcon(),
),
);
}
_buildButtonWithOrWithoutIcon() {
if (prefixWidget != null || suffixWidget != null) {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
prefixWidget ?? SizedBox(),
Text(
text ?? "",
textAlign: TextAlign.center,
style: _setFontStyle(),
),
suffixWidget ?? SizedBox(),
],
);
} else {
return Text(
text ?? "",
textAlign: TextAlign.center,
style: _setFontStyle(),
);
}
}
_buildTextButtonStyle() {
return TextButton.styleFrom(
fixedSize: Size(
width ?? double.maxFinite,
height ?? getVerticalSize(40),
),
padding: _setPadding(),
backgroundColor: _setColor(),
shape: RoundedRectangleBorder(
borderRadius: _setBorderRadius(),
),
);
}
_setPadding() {
switch (padding) {
case ButtonPadding.PaddingAll6:
return getPadding(
all: 6,
);
case ButtonPadding.PaddingAll18:
return getPadding(
all: 18,
);
case ButtonPadding.PaddingAll15:
return getPadding(
all: 15,
);
default:
return getPadding(
all: 3,
);
}
}
_setColor() {
switch (variant) {
case ButtonVariant.FillGray100:
return ColorConstant.gray100;
case ButtonVariant.FillBlueA70063:
return ColorConstant.blueA70063;
case ButtonVariant.FillDeeporangeA10033:
return ColorConstant.deepOrangeA10033;
case ButtonVariant.FillLightblueA700:
return ColorConstant.lightBlueA700;
case ButtonVariant.FillRed500:
return ColorConstant.red500;
case ButtonVariant.FillDeeporangeA10019:
return ColorConstant.deepOrangeA10019;
case ButtonVariant.FillGreen600:
return ColorConstant.green600;
default:
return ColorConstant.blueA700;
}
}
_setBorderRadius() {
switch (shape) {
case ButtonShape.CustomBorderLR6:
return BorderRadius.only(
topLeft: Radius.circular(
getHorizontalSize(
0.00,
),
),
topRight: Radius.circular(
getHorizontalSize(
6.00,
),
),
bottomLeft: Radius.circular(
getHorizontalSize(
0.00,
),
),
bottomRight: Radius.circular(
getHorizontalSize(
6.00,
),
),
);
case ButtonShape.Square:
return BorderRadius.circular(0);
default:
return BorderRadius.circular(
getHorizontalSize(
6.00,
),
);
}
}
_setFontStyle() {
switch (fontStyle) {
case ButtonFontStyle.GilroyMedium12:
return TextStyle(
color: ColorConstant.red700,
fontSize: getFontSize(
12,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
case ButtonFontStyle.GilroySemiBold18:
return TextStyle(
color: ColorConstant.blueA700,
fontSize: getFontSize(
18,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
case ButtonFontStyle.GilroyMedium12Deeporange400:
return TextStyle(
color: ColorConstant.deepOrange400,
fontSize: getFontSize(
12,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
case ButtonFontStyle.SFProTextRegular17:
return TextStyle(
color: ColorConstant.whiteA700,
fontSize: getFontSize(
17,
),
fontFamily: 'SF Pro Text',
fontWeight: FontWeight.w400,
);
case ButtonFontStyle.GilroyMedium16:
return TextStyle(
color: ColorConstant.whiteA700,
fontSize: getFontSize(
16,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
default:
return TextStyle(
color: ColorConstant.whiteA700,
fontSize: getFontSize(
14,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
}
}
}
enum ButtonShape {
Square,
RoundedBorder6,
CustomBorderLR6,
}
enum ButtonPadding {
PaddingAll3,
PaddingAll6,
PaddingAll18,
PaddingAll15,
}
enum ButtonVariant {
FillGray100,
FillBlueA70063,
FillDeeporangeA10033,
FillLightblueA700,
FillRed500,
FillDeeporangeA10019,
FillBlueA700,
FillGreen600,
}
enum ButtonFontStyle {
GilroyMedium12,
GilroySemiBold18,
GilroyMedium12Deeporange400,
SFProTextRegular17,
GilroyMedium14,
GilroyMedium16,
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/custom_elevated_button.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/widgets/base_button.dart';
class CustomElevatedButton extends BaseButton {
CustomElevatedButton({
Key? key,
this.decoration,
this.leftIcon,
this.rightIcon,
EdgeInsets? margin,
VoidCallback? onPressed,
ButtonStyle? buttonStyle,
Alignment? alignment,
TextStyle? buttonTextStyle,
bool? isDisabled,
double? height,
double? width,
required String text,
}) : super(
text: text,
onPressed: onPressed,
buttonStyle: buttonStyle,
isDisabled: isDisabled,
buttonTextStyle: buttonTextStyle,
height: height,
width: width,
alignment: alignment,
margin: margin,
);
final BoxDecoration? decoration;
final Widget? leftIcon;
final Widget? rightIcon;
@override
Widget build(BuildContext context) {
return alignment != null
? Align(
alignment: alignment ?? Alignment.center,
child: buildElevatedButtonWidget,
)
: buildElevatedButtonWidget;
}
Widget get buildElevatedButtonWidget => Container(
height: this.height ?? 60.v,
width: this.width ?? double.maxFinite,
margin: margin,
decoration: decoration,
child: ElevatedButton(
style: buttonStyle,
onPressed: isDisabled ?? false ? null : onPressed ?? () {},
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
leftIcon ?? const SizedBox.shrink(),
Text(
text,
style: buttonTextStyle ?? CustomTextStyles.titleSmallWhiteA700,
),
rightIcon ?? const SizedBox.shrink(),
],
),
),
);
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/progress_time_picker.dart | import 'package:flutter/material.dart';
import 'package:intl/intl.dart' as intl;
import 'package:progressive_time_picker/progressive_time_picker.dart';
class ProgressTimePickerWidget extends StatefulWidget {
ProgressTimePickerWidget({Key? key}) : super(key: key);
@override
_ProgressTimePickerWidgetState createState() =>
_ProgressTimePickerWidgetState();
}
class _ProgressTimePickerWidgetState extends State<ProgressTimePickerWidget> {
ClockTimeFormat _clockTimeFormat = ClockTimeFormat.twentyFourHours;
ClockIncrementTimeFormat _clockIncrementTimeFormat =
ClockIncrementTimeFormat.fiveMin;
PickedTime _inBedTime = PickedTime(h: 0, m: 0);
PickedTime _outBedTime = PickedTime(h: 8, m: 0);
PickedTime _intervalBedTime = PickedTime(h: 0, m: 0);
PickedTime _disabledInitTime = PickedTime(h: 12, m: 0);
PickedTime _disabledEndTime = PickedTime(h: 20, m: 0);
double _sleepGoal = 8.0;
bool _isSleepGoal = false;
bool? validRange = true;
@override
void initState() {
super.initState();
_isSleepGoal = (_sleepGoal >= 8.0) ? true : false;
_intervalBedTime = formatIntervalTime(
init: _inBedTime,
end: _outBedTime,
clockTimeFormat: _clockTimeFormat,
clockIncrementTimeFormat: _clockIncrementTimeFormat,
);
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('working hours'),
),
// backgroundColor: Colors.black,
body: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.fromLTRB(20, 20, 20, 10),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
TimePicker(
initTime: _inBedTime,
endTime: _outBedTime,
disabledRange: DisabledRange(
initTime: _disabledInitTime,
endTime: _disabledEndTime,
disabledRangeColor: Colors.grey,
errorColor: Colors.red,
),
height: 400.0,
width: 400.0,
onSelectionChange: _updateLabels,
onSelectionEnd: (start, end, isDisableRange) => print(
'onSelectionEnd => init : ${start.h}:${start.m}, end : ${end.h}:${end.m}, isDisableRange: $isDisableRange'),
primarySectors: _clockTimeFormat.value,
secondarySectors: _clockTimeFormat.value * 2,
decoration: TimePickerDecoration(
baseColor: Color(0xFF1F2633),
pickerBaseCirclePadding: 15.0,
sweepDecoration: TimePickerSweepDecoration(
pickerStrokeWidth: 30.0,
pickerColor:
_isSleepGoal ? Color(0xFF3CDAF7) : Colors.indigo,
showConnector: true,
),
initHandlerDecoration: TimePickerHandlerDecoration(
color: Color(0xFF141925),
shape: BoxShape.circle,
radius: 12.0,
icon: Icon(
Icons.power_settings_new_outlined,
size: 20.0,
color: Color(0xFF3CDAF7),
),
),
endHandlerDecoration: TimePickerHandlerDecoration(
color: Color(0xFF141925),
shape: BoxShape.circle,
radius: 12.0,
icon: Icon(
Icons.notifications_active_outlined,
size: 20.0,
color: Color(0xFF3CDAF7),
),
),
primarySectorsDecoration: TimePickerSectorDecoration(
color: Colors.indigo,
width: 1.0,
size: 4.0,
radiusPadding: 25.0,
),
secondarySectorsDecoration: TimePickerSectorDecoration(
color: Color(0xFF3CDAF7),
width: 1.0,
size: 2.0,
radiusPadding: 25.0,
),
clockNumberDecoration: TimePickerClockNumberDecoration(
defaultTextColor: Colors.indigo,
defaultFontSize: 12.0,
scaleFactor: 2.0,
showNumberIndicators: true,
clockTimeFormat: _clockTimeFormat,
clockIncrementTimeFormat: _clockIncrementTimeFormat,
),
),
child: Padding(
padding: const EdgeInsets.all(62.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'${intl.NumberFormat('00').format(_intervalBedTime.h)}Hr ${intl.NumberFormat('00').format(_intervalBedTime.m)}Min',
style: TextStyle(
fontSize: 14.0,
color:
_isSleepGoal ? Color(0xFF3CDAF7) : Colors.indigo,
fontWeight: FontWeight.bold,
),
),
],
),
),
),
Container(
width: 300.0,
alignment: Alignment.center,
decoration: BoxDecoration(
color: Color(0xFF1F2633),
borderRadius: BorderRadius.circular(15.0),
),
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Text(
_isSleepGoal
? "Above Sleep Goal (>=8) 😇"
: 'below Sleep Goal (<=8) 😴',
style: TextStyle(
color: Colors.white,
fontSize: 15,
fontWeight: FontWeight.bold,
),
),
),
),
SizedBox(
height: 25,
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
_timeWidget(
'BedTime',
_inBedTime,
Icon(
Icons.power_settings_new_outlined,
size: 25.0,
color: Color(0xFF3CDAF7),
),
),
_timeWidget(
'WakeUp',
_outBedTime,
Icon(
Icons.notifications_active_outlined,
size: 25.0,
color: Color(0xFF3CDAF7),
),
),
],
),
SizedBox(
height: 25,
),
Container(
alignment: Alignment.center,
decoration: BoxDecoration(
border: Border.all(color: Colors.black12),
borderRadius: BorderRadius.all(Radius.circular(10))),
height: 40,
width: 300,
padding: EdgeInsets.all(8),
child: Text(
validRange == true
? "Working hours ${intl.NumberFormat('00').format(_disabledInitTime.h)}:${intl.NumberFormat('00').format(_disabledInitTime.m)} to ${intl.NumberFormat('00').format(_disabledEndTime.h)}:${intl.NumberFormat('00').format(_disabledEndTime.m)}"
: "Please schedule according working time!",
style: TextStyle(
fontSize: 16.0,
color: validRange == true ? Colors.indigo : Colors.red,
),
),
),
],
),
),
),
);
}
Widget _timeWidget(String title, PickedTime time, Icon icon) {
return Container(
width: 150.0,
decoration: BoxDecoration(
color: Color(0xFF1F2633),
borderRadius: BorderRadius.circular(25.0),
),
child: Padding(
padding: const EdgeInsets.all(25.0),
child: Column(
children: [
Text(
'${intl.NumberFormat('00').format(time.h)}:${intl.NumberFormat('00').format(time.m)}',
style: TextStyle(
color: Color(0xFF3CDAF7),
fontSize: 15,
fontWeight: FontWeight.bold,
),
),
SizedBox(height: 15),
Text(
'$title',
style: TextStyle(
color: Color(0xFF3CDAF7),
fontSize: 16,
),
),
SizedBox(height: 10),
icon,
],
),
),
);
}
void _updateLabels(PickedTime init, PickedTime end, bool? isDisableRange) {
_inBedTime = init;
_outBedTime = end;
_intervalBedTime = formatIntervalTime(
init: _inBedTime,
end: _outBedTime,
clockTimeFormat: _clockTimeFormat,
clockIncrementTimeFormat: _clockIncrementTimeFormat,
);
_isSleepGoal = validateSleepGoal(
inTime: init,
outTime: end,
sleepGoal: _sleepGoal,
clockTimeFormat: _clockTimeFormat,
clockIncrementTimeFormat: _clockIncrementTimeFormat,
);
setState(() {
validRange = isDisableRange;
});
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/date_range_picker.dart | import 'package:custom_date_range_picker/custom_date_range_picker.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:todo_app/core/app_export.dart';
import 'custom_icon_button.dart';
class LongTermTask extends StatefulWidget {
const LongTermTask({Key? key}) : super(key: key);
@override
State<LongTermTask> createState() => _LongTermTaskState();
}
// class _LongTermTaskState extends State<LongTermTask> {
// DateTime? startDate;
// DateTime? endDate;
//
// @override
// Widget build(BuildContext context) {
// return Scaffold(
// appBar: AppBar(
// backgroundColor: Colors.indigo.shade900,
// leading: IconButton(
// onPressed: () {},
// icon: Icon(
// Icons.arrow_back_ios_rounded,
// color: Colors.white70,
// ),
// ),
// title: const Text(
// "Long Term Task",
// style: TextStyle(color: Colors.white70),
// ),
// centerTitle: true,
// ),
// body: Container(
// height: double.infinity,
// child: Padding(
// padding: const EdgeInsets.only(left: 18, bottom: 16),
// child: Center(
// child: Column(
// mainAxisAlignment: MainAxisAlignment.center,
// crossAxisAlignment: CrossAxisAlignment.center,
// children: <Widget>[
// GestureDetector(
// onTap: () {
// showCustomDateRangePicker(
// context,
// dismissible: true,
// minimumDate:
// DateTime.now().subtract(const Duration(days: 30)),
// maximumDate: DateTime.now().add(const Duration(days: 30)),
// endDate: endDate,
// startDate: startDate,
// backgroundColor: Colors.white,
// primaryColor: Colors.green,
// onApplyClick: (start, end) {
// setState(() {
// endDate = end;
// startDate = start;
// });
// },
// onCancelClick: () {
// setState(() {
// endDate = null;
// startDate = null;
// });
// },
// );
// },
// child: Container(
// padding: EdgeInsets.all(15),
// width: 280,
// height: 60,
// color: Colors.indigo.shade100,
// child: Row(
// children: [
// Text(
// 'Choose a date Range',
// style: TextStyle(
// fontWeight: FontWeight.w500,
// fontSize: 20,
// color: Colors.black),
// ),
// SizedBox(
// width: 25,
// ),
// const Icon(Icons.calendar_month_rounded,
// color: Colors.black, size: 35),
// ],
// ),
// ),
// ),
// const SizedBox(height: 20),
// Text(
// 'From ${startDate != null ? DateFormat("dd, MMM").format(startDate!) : '-'} \t to \t ${endDate != null ? DateFormat("dd, MMM").format(endDate!) : '-'}',
// style: const TextStyle(
// fontWeight: FontWeight.w400,
// fontSize: 18,
// color: Colors.black,
// ),
// ),
// ],
// ),
// ),
// ),
// ),
// // floatingActionButton: FloatingActionButton(
// // onPressed: () {
// // showCustomDateRangePicker(
// // context,
// // dismissible: true,
// // minimumDate: DateTime.now().subtract(const Duration(days: 30)),
// // maximumDate: DateTime.now().add(const Duration(days: 30)),
// // endDate: endDate,
// // startDate: startDate,
// // backgroundColor: Colors.white,
// // primaryColor: Colors.green,
// // onApplyClick: (start, end) {
// // setState(() {
// // endDate = end;
// // startDate = start;
// // });
// // },
// // onCancelClick: () {
// // setState(() {
// // endDate = null;
// // startDate = null;
// // });
// // },
// // );
// // },
// // tooltip: 'choose date Range',
// // child: const Icon(Icons.calendar_today_outlined, color: Colors.white),
// // ),
// );
// }
// }
class _LongTermTaskState extends State<LongTermTask> {
DateTime? startDate;
DateTime? endDate;
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.only(left: 18, bottom: 16),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
GestureDetector(
onTap: () {
showCustomDateRangePicker(
context,
dismissible: true,
minimumDate: DateTime.now().subtract(const Duration(days: 30)),
maximumDate: DateTime.now().add(const Duration(days: 30)),
endDate: endDate,
startDate: startDate,
backgroundColor: Colors.white,
primaryColor: Colors.green,
onApplyClick: (start, end) {
setState(() {
endDate = end;
startDate = start;
});
},
onCancelClick: () {
setState(() {
endDate = null;
startDate = null;
});
},
);
},
child: Container(
padding: EdgeInsets.all(8),
width: 200,
height: 50,
color: Colors.blue.shade100,
child: Row(
children: [
Text(
'Choose a date Range',
style: TextStyle(
fontWeight: FontWeight.w500,
fontSize: 12,
color: Colors.black),
),
SizedBox(
width: 15,
),
CustomIconButton(
onTap: () {
// Get.toNamed(
// AppRoutes.calendarScreen,
// );
},
height: 20.v,
width: 20.h,
decoration: IconButtonStyleHelper.fillGray,
child:
CustomImageView(imagePath: ImageConstant.imgCalendar))
],
),
),
),
const SizedBox(height: 20),
Text(
'From ${startDate != null ? DateFormat("dd, MMM").format(startDate!) : '-'} \t to \t ${endDate != null ? DateFormat("dd, MMM").format(endDate!) : '-'}',
style: const TextStyle(
fontWeight: FontWeight.w400,
fontSize: 13,
color: Colors.black,
),
),
],
),
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/custom_drop_down.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
class CustomDropDown extends StatelessWidget {
CustomDropDown(
{this.shape,
this.padding,
this.variant,
this.fontStyle,
this.alignment,
this.width,
this.margin,
this.focusNode,
this.icon,
this.hintText,
this.prefix,
this.prefixConstraints,
this.items,
this.onChanged,
this.validator});
DropDownShape? shape;
DropDownPadding? padding;
DropDownVariant? variant;
DropDownFontStyle? fontStyle;
Alignment? alignment;
double? width;
EdgeInsetsGeometry? margin;
FocusNode? focusNode;
Widget? icon;
String? hintText;
Widget? prefix;
BoxConstraints? prefixConstraints;
List<SelectionPopupModel>? items;
Function(SelectionPopupModel)? onChanged;
FormFieldValidator<SelectionPopupModel>? validator;
@override
Widget build(BuildContext context) {
return alignment != null
? Align(
alignment: alignment ?? Alignment.center,
child: _buildDropDownWidget(),
)
: _buildDropDownWidget();
}
_buildDropDownWidget() {
return Container(
width: width ?? double.maxFinite,
margin: margin,
child: DropdownButtonFormField<SelectionPopupModel>(
focusNode: focusNode,
icon: icon,
style: _setFontStyle(),
decoration: _buildDecoration(),
items: items?.map((SelectionPopupModel item) {
return DropdownMenuItem<SelectionPopupModel>(
value: item,
child: Text(
item.title,
overflow: TextOverflow.ellipsis,
),
);
}).toList(),
onChanged: (value) {
onChanged!(value!);
},
validator: validator,
),
);
}
_buildDecoration() {
return InputDecoration(
hintText: hintText ?? "",
hintStyle: _setFontStyle(),
border: _setBorderStyle(),
enabledBorder: _setBorderStyle(),
focusedBorder: _setBorderStyle(),
prefixIcon: prefix,
prefixIconConstraints: prefixConstraints,
fillColor: _setFillColor(),
filled: _setFilled(),
isDense: true,
contentPadding: _setPadding(),
);
}
_setFontStyle() {
switch (fontStyle) {
default:
return TextStyle(
color: ColorConstant.blueGray400,
fontSize: getFontSize(
14,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
}
}
_setOutlineBorderRadius() {
switch (shape) {
default:
return BorderRadius.circular(
getHorizontalSize(
6.00,
),
);
}
}
_setBorderStyle() {
switch (variant) {
case DropDownVariant.None:
return InputBorder.none;
default:
return OutlineInputBorder(
borderRadius: _setOutlineBorderRadius(),
borderSide: BorderSide(
color: ColorConstant.blueGray100,
width: 1,
),
);
}
}
_setFillColor() {
switch (variant) {
default:
return ColorConstant.whiteA700;
}
}
_setFilled() {
switch (variant) {
case DropDownVariant.None:
return false;
default:
return true;
}
}
_setPadding() {
switch (padding) {
default:
return getPadding(
left: 7,
top: 7,
bottom: 7,
);
}
}
}
enum DropDownShape {
RoundedBorder6,
}
enum DropDownPadding {
PaddingT7,
}
enum DropDownVariant {
None,
OutlineBluegray100,
}
enum DropDownFontStyle {
GilroyMedium14,
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/base_button.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
class BaseButton extends StatelessWidget {
BaseButton({
Key? key,
required this.text,
this.onPressed,
this.buttonStyle,
this.buttonTextStyle,
this.isDisabled,
this.height,
this.width,
this.margin,
this.alignment,
}) : super(
key: key,
);
final String text;
final VoidCallback? onPressed;
final ButtonStyle? buttonStyle;
final TextStyle? buttonTextStyle;
final bool? isDisabled;
final double? height;
final double? width;
final EdgeInsets? margin;
final Alignment? alignment;
@override
Widget build(BuildContext context) {
return const SizedBox.shrink();
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/task_widget.dart | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import '../data/models/task.dart';
import '../presentation/tasks/task_view.dart';
import '../theme/colors.dart';
class TaskWidget extends StatefulWidget {
const TaskWidget({Key? key, required this.task}) : super(key: key);
final Task task;
@override
// ignore: library_private_types_in_public_api
_TaskWidgetState createState() => _TaskWidgetState();
}
class _TaskWidgetState extends State<TaskWidget> {
TextEditingController taskControllerForTitle = TextEditingController();
TextEditingController taskControllerForSubtitle = TextEditingController();
@override
void initState() {
super.initState();
taskControllerForTitle.text = widget.task.title;
taskControllerForSubtitle.text = widget.task.subtitle;
}
@override
void dispose() {
taskControllerForTitle.dispose();
taskControllerForSubtitle.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () {
Navigator.push(
context,
CupertinoPageRoute(
builder: (ctx) => TaskView(
taskControllerForTitle: taskControllerForTitle,
taskControllerForSubtitle: taskControllerForSubtitle,
task: widget.task,
),
),
);
},
/// Main Card
child: AnimatedContainer(
duration: const Duration(milliseconds: 600),
margin: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
decoration: BoxDecoration(
color: widget.task.isCompleted
? const Color.fromARGB(154, 119, 144, 229)
: Colors.white,
borderRadius: BorderRadius.circular(8),
boxShadow: [
BoxShadow(
color: Colors.black.withOpacity(.1),
offset: const Offset(0, 4),
blurRadius: 10)
]),
child: ListTile(
/// Check icon
leading: GestureDetector(
onTap: () {
widget.task.isCompleted = !widget.task.isCompleted;
widget.task.save();
},
child: AnimatedContainer(
duration: const Duration(milliseconds: 600),
decoration: BoxDecoration(
color: widget.task.isCompleted
? MyColors.primaryColor
: Colors.white,
shape: BoxShape.circle,
border: Border.all(color: Colors.grey, width: .8)),
child: const Icon(
Icons.check,
color: Colors.white,
),
),
),
/// title of Task
title: Padding(
padding: const EdgeInsets.only(bottom: 5, top: 3),
child: Text(
taskControllerForTitle.text,
style: TextStyle(
color: widget.task.isCompleted
? MyColors.primaryColor
: Colors.black,
fontWeight: FontWeight.w500,
decoration: widget.task.isCompleted
? TextDecoration.lineThrough
: null),
),
),
/// Description of task
subtitle: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
taskControllerForSubtitle.text,
style: TextStyle(
color: widget.task.isCompleted
? MyColors.primaryColor
: const Color.fromARGB(255, 164, 164, 164),
fontWeight: FontWeight.w300,
decoration: widget.task.isCompleted
? TextDecoration.lineThrough
: null,
),
),
/// Date & Time of Task
Align(
alignment: Alignment.centerRight,
child: Padding(
padding: const EdgeInsets.only(
bottom: 10,
top: 10,
),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
DateFormat('hh:mm a')
.format(widget.task.createdAtTime),
style: TextStyle(
fontSize: 14,
color: widget.task.isCompleted
? Colors.white
: Colors.grey),
),
Text(
DateFormat.yMMMEd().format(widget.task.createdAtDate),
style: TextStyle(
fontSize: 12,
color: widget.task.isCompleted
? Colors.white
: Colors.grey),
),
],
),
),
),
],
)),
),
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/time_duration_picker.dart | // import 'package:flutter/material.dart';
// import 'package:time_duration_picker/time_duration_picker.dart';
//
// class SetAlarm extends StatefulWidget {
// const SetAlarm({Key? key}) : super(key: key);
//
// @override
// State<SetAlarm> createState() => _SetAlarmState();
// }
//
// class _SetAlarmState extends State<SetAlarm> {
// String alarmTime = "12:00 PM";
// String bedTime = "12:00 AM";
// String sleepDuration = "12 hr 00 min";
// @override
// Widget build(BuildContext context) {
// double smallerMarginRatio = 0.025;
//
// double horizontalPadding = 0.08;
//
// double verticalPadding = 0.05;
// Size size = MediaQuery.of(context).size;
// return Scaffold(
// backgroundColor: const Color.fromRGBO(241, 248, 255, 1),
// body: SafeArea(
// child: SingleChildScrollView(
// child: Padding(
// padding: EdgeInsets.symmetric(
// horizontal: size.width * horizontalPadding,
// vertical: size.height * verticalPadding),
// child: Column(
// crossAxisAlignment: CrossAxisAlignment.center,
// children: [
// SizedBox(height: size.height * smallerMarginRatio),
// TimeDurationPicker(
// diameter: size.width * 0.775,
// icon1Data: Icons.notifications_none,
// icon2Data: Icons.bed,
// knobDecoration: const BoxDecoration(
// color: Color.fromRGBO(167, 153, 240, 1)),
// clockDecoration: const BoxDecoration(
// gradient: RadialGradient(colors: [
// Color.fromRGBO(167, 153, 240, 1),
// Colors.white
// ])),
// knobBackgroundDecoration: const BoxDecoration(
// shape: BoxShape.circle,
// color: Color.fromRGBO(218, 224, 238, 1),
// gradient: LinearGradient(
// begin: Alignment.bottomLeft,
// end: Alignment.topRight,
// colors: [
// Colors.white,
// Color.fromRGBO(218, 224, 238, 1),
// ],
// stops: [0.1, 1],
// ),
// ),
// onIcon1RotatedCallback: (value) {
// setState(() {
// alarmTime = value;
// });
// },
// onIcon2RotatedCallback: (value) {
// setState(() {
// bedTime = value;
// });
// },
// setDurationCallback: (value) {
// setState(() {
// sleepDuration = value;
// });
// },
// ),
// SizedBox(height: size.height * 2 * smallerMarginRatio),
// SizedBox(
// width: size.width * 0.45,
// child: FittedBox(
// fit: BoxFit.fitWidth,
// child: Text(
// sleepDuration,
// style: const TextStyle(
// color: Color.fromRGBO(
// 54,
// 61,
// 86,
// 1,
// ),
// fontWeight: FontWeight.bold,
// ),
// ),
// ),
// ),
// SizedBox(height: size.height * 2 * smallerMarginRatio),
// Row(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// children: [
// AlarmDescription(
// iconData: Icons.bed,
// title: "Bedtime",
// width: size.width * 0.4,
// time: bedTime),
// AlarmDescription(
// iconData: Icons.notifications_none,
// title: "Wake Up",
// width: size.width * 0.4,
// time: alarmTime)
// ],
// ),
// ],
// ),
// ),
// ),
// ),
// );
// }
// }
//
// class AlarmDescription extends StatefulWidget {
// final IconData iconData;
// final String title;
// final String time;
// final double width;
// const AlarmDescription(
// {Key? key,
// required this.iconData,
// required this.title,
// required this.width,
// required this.time})
// : super(key: key);
//
// @override
// _AlarmDescriptionState createState() => _AlarmDescriptionState();
// }
//
// class _AlarmDescriptionState extends State<AlarmDescription> {
// double horizontalPadding = 0.15;
// double verticalPadding = 0.1;
// double aspectRatio = 0.8;
// late double height;
//
// @override
// void initState() {
// super.initState();
// height = widget.width / aspectRatio;
// }
//
// @override
// Widget build(BuildContext context) {
// return Container(
// width: widget.width,
// height: height,
// decoration: BoxDecoration(
// color: const Color.fromRGBO(252, 253, 255, 1),
// borderRadius: BorderRadius.circular(widget.width * 0.25)),
// child: Padding(
// padding: EdgeInsets.symmetric(
// vertical: height * verticalPadding,
// horizontal: widget.width * horizontalPadding),
// child: Column(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
// crossAxisAlignment: CrossAxisAlignment.start,
// children: [
// Icon(
// widget.iconData,
// color: const Color.fromRGBO(167, 153, 240, 1),
// size: height * 0.3,
// ),
// SizedBox(
// width: widget.width * (1 - 2 * horizontalPadding) * 0.65,
// child: FittedBox(
// fit: BoxFit.fitWidth,
// child: Text(
// widget.title,
// style: const TextStyle(
// color: Color.fromRGBO(
// 54,
// 61,
// 86,
// 1,
// ),
// fontWeight: FontWeight.bold),
// ),
// ),
// ),
// SizedBox(
// width: widget.width * (1 - 2 * horizontalPadding),
// child: FittedBox(
// fit: BoxFit.fitWidth,
// child: Text(
// widget.time,
// style: const TextStyle(
// color: Color.fromRGBO(
// 54,
// 61,
// 86,
// 1,
// ),
// fontWeight: FontWeight.bold,
// ),
// ),
// ),
// ),
// SizedBox(
// width: widget.width * (1 - 2 * horizontalPadding) * 0.45,
// child: const FittedBox(
// fit: BoxFit.fitWidth,
// child: Text(
// "Tomorrow",
// style: TextStyle(
// color: Color.fromRGBO(
// 144,
// 158,
// 174,
// 1,
// ),
// fontWeight: FontWeight.bold,
// ),
// ),
// ),
// )
// ],
// ),
// ),
// );
// }
// }
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/custom_floating_button.dart | import 'package:flutter/material.dart';
import '../core/utils/color_constant.dart';
import '../core/utils/size_utils.dart';
class CustomFloatingButton extends StatelessWidget {
CustomFloatingButton(
{this.shape,
this.variant,
this.alignment,
this.margin,
this.onTap,
this.width,
this.height,
this.child});
FloatingButtonShape? shape;
FloatingButtonVariant? variant;
Alignment? alignment;
EdgeInsetsGeometry? margin;
VoidCallback? onTap;
double? width;
double? height;
Widget? child;
@override
Widget build(BuildContext context) {
return alignment != null
? Align(
alignment: alignment ?? Alignment.center,
child: _buildFabWidget(),
)
: _buildFabWidget();
}
_buildFabWidget() {
return Padding(
padding: margin ?? EdgeInsets.zero,
child: FloatingActionButton(
backgroundColor: _setColor(),
onPressed: onTap,
child: Container(
alignment: Alignment.center,
width: getSize(width ?? 0),
height: getSize(height ?? 0),
decoration: _buildDecoration(),
child: child,
),
),
);
}
_buildDecoration() {
return BoxDecoration(
color: _setColor(),
borderRadius: _setBorderRadius(),
);
}
_setColor() {
switch (variant) {
default:
return ColorConstant.blueA700;
}
}
_setBorderRadius() {
switch (shape) {
default:
return BorderRadius.circular(
getHorizontalSize(
30.00,
),
);
}
}
}
enum FloatingButtonShape {
CircleBorder30,
}
enum FloatingButtonVariant {
FillBlueA700,
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/custom_text_form_field.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
class CustomTextFormField extends StatelessWidget {
CustomTextFormField({
Key? key,
this.alignment,
this.width,
this.scrollPadding,
this.controller,
this.focusNode,
this.autofocus = true,
this.textStyle,
this.obscureText = false,
this.textInputAction = TextInputAction.next,
this.textInputType = TextInputType.text,
this.maxLines,
this.hintText,
this.hintStyle,
this.prefix,
this.prefixConstraints,
this.suffix,
this.suffixConstraints,
this.contentPadding,
this.borderDecoration,
this.fillColor,
this.filled = false,
this.validator,
}) : super(
key: key,
);
final Alignment? alignment;
final double? width;
final TextEditingController? scrollPadding;
final TextEditingController? controller;
final FocusNode? focusNode;
final bool? autofocus;
final TextStyle? textStyle;
final bool? obscureText;
final TextInputAction? textInputAction;
final TextInputType? textInputType;
final int? maxLines;
final String? hintText;
final TextStyle? hintStyle;
final Widget? prefix;
final BoxConstraints? prefixConstraints;
final Widget? suffix;
final BoxConstraints? suffixConstraints;
final EdgeInsets? contentPadding;
final InputBorder? borderDecoration;
final Color? fillColor;
final bool? filled;
final FormFieldValidator<String>? validator;
@override
Widget build(BuildContext context) {
return alignment != null
? Align(
alignment: alignment ?? Alignment.center,
child: textFormFieldWidget,
)
: textFormFieldWidget;
}
Widget get textFormFieldWidget => SizedBox(
width: width ?? double.maxFinite,
child: TextFormField(
scrollPadding: EdgeInsets.only(
bottom: MediaQuery.of(Get.context!).viewInsets.bottom),
controller: controller,
focusNode: focusNode ?? FocusNode(),
autofocus: autofocus!,
style: textStyle ?? theme.textTheme.titleSmall,
obscureText: obscureText!,
textInputAction: textInputAction,
keyboardType: textInputType,
maxLines: maxLines ?? 1,
decoration: decoration,
validator: validator,
),
);
InputDecoration get decoration => InputDecoration(
hintText: hintText ?? "",
hintStyle: hintStyle ?? theme.textTheme.titleSmall,
prefixIcon: prefix,
prefixIconConstraints: prefixConstraints,
suffixIcon: suffix,
suffixIconConstraints: suffixConstraints,
isDense: true,
contentPadding: contentPadding ?? EdgeInsets.all(19.h),
fillColor: fillColor,
filled: filled,
border: borderDecoration ??
OutlineInputBorder(
borderRadius: BorderRadius.circular(10.h),
borderSide: BorderSide(
color: theme.colorScheme.onPrimary.withOpacity(0.1),
width: 2,
),
),
enabledBorder: borderDecoration ??
OutlineInputBorder(
borderRadius: BorderRadius.circular(10.h),
borderSide: BorderSide(
color: theme.colorScheme.onPrimary.withOpacity(0.1),
width: 2,
),
),
focusedBorder: borderDecoration ??
OutlineInputBorder(
borderRadius: BorderRadius.circular(10.h),
borderSide: BorderSide(
color: theme.colorScheme.onPrimary.withOpacity(0.1),
width: 2,
),
),
);
}
/// Extension on [CustomTextFormField] to facilitate inclusion of all types of border style etc
extension TextFormFieldStyleHelper on CustomTextFormField {
static OutlineInputBorder get outlineOnPrimaryTL14 => OutlineInputBorder(
borderRadius: BorderRadius.circular(14.h),
borderSide: BorderSide(
color: theme.colorScheme.onPrimary.withOpacity(0.1),
width: 1,
),
);
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/custom_outlined_button.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/widgets/base_button.dart';
class CustomOutlinedButton extends BaseButton {
CustomOutlinedButton({
Key? key,
this.decoration,
this.leftIcon,
this.rightIcon,
this.label,
VoidCallback? onPressed,
ButtonStyle? buttonStyle,
TextStyle? buttonTextStyle,
bool? isDisabled,
Alignment? alignment,
double? height,
double? width,
EdgeInsets? margin,
required String text,
}) : super(
text: text,
onPressed: onPressed,
buttonStyle: buttonStyle,
isDisabled: isDisabled,
buttonTextStyle: buttonTextStyle,
height: height,
alignment: alignment,
width: width,
margin: margin,
);
final BoxDecoration? decoration;
final Widget? leftIcon;
final Widget? rightIcon;
final Widget? label;
@override
Widget build(BuildContext context) {
return alignment != null
? Align(
alignment: alignment ?? Alignment.center,
child: buildOutlinedButtonWidget,
)
: buildOutlinedButtonWidget;
}
Widget get buildOutlinedButtonWidget => Container(
height: this.height ?? 60.v,
width: this.width ?? double.maxFinite,
margin: margin,
decoration: decoration,
child: OutlinedButton(
style: buttonStyle,
onPressed: isDisabled ?? false ? null : onPressed ?? () {},
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
leftIcon ?? const SizedBox.shrink(),
Text(
text,
style: buttonTextStyle ?? CustomTextStyles.titleMediumRedA4000c,
),
rightIcon ?? const SizedBox.shrink(),
],
),
),
);
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/custom_image_view.dart | // ignore_for_file: must_be_immutable
import 'dart:io';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class CustomImageView extends StatelessWidget {
///[imagePath] is required parameter for showing image
String? imagePath;
String? svgPath;
double? height;
double? width;
Color? color;
BoxFit? fit;
final String placeHolder;
Alignment? alignment;
VoidCallback? onTap;
EdgeInsetsGeometry? margin;
BorderRadius? radius;
BoxBorder? border;
///a [CustomImageView] it can be used for showing any type of images
/// it will shows the placeholder image if image is not found on network image
CustomImageView({
this.svgPath,
this.imagePath,
this.height,
this.width,
this.color,
this.fit,
this.alignment,
this.onTap,
this.radius,
this.margin,
this.border,
this.placeHolder = 'assets/images/image_not_found.png',
});
@override
Widget build(BuildContext context) {
return alignment != null
? Align(
alignment: alignment!,
child: _buildWidget(),
)
: _buildWidget();
}
Widget _buildWidget() {
return Padding(
padding: margin ?? EdgeInsets.zero,
child: InkWell(
onTap: onTap,
child: _buildCircleImage(),
),
);
}
///build the image with border radius
_buildCircleImage() {
if (radius != null) {
return ClipRRect(
borderRadius: radius ?? BorderRadius.zero,
child: _buildImageWithBorder(),
);
} else {
return _buildImageWithBorder();
}
}
///build the image with border and border radius style
_buildImageWithBorder() {
if (border != null) {
return Container(
decoration: BoxDecoration(
border: border,
borderRadius: radius,
),
child: _buildImageView(),
);
} else {
return _buildImageView();
}
}
Widget _buildImageView() {
if (imagePath != null) {
switch (imagePath!.imageType) {
case ImageType.svg:
return Container(
height: height,
width: width,
child: SvgPicture.asset(
imagePath!,
height: height,
width: width,
fit: fit ?? BoxFit.contain,
colorFilter:
ColorFilter.mode(color ?? Colors.black, BlendMode.srcIn),
),
);
case ImageType.file:
return Image.file(
File(imagePath!),
height: height,
width: width,
fit: fit ?? BoxFit.cover,
color: color,
);
case ImageType.network:
return CachedNetworkImage(
height: height,
width: width,
fit: fit,
imageUrl: imagePath!,
color: color,
placeholder: (context, url) => Container(
height: 30,
width: 30,
child: LinearProgressIndicator(
color: Colors.grey.shade200,
backgroundColor: Colors.grey.shade100,
),
),
errorWidget: (context, url, error) => Image.asset(
placeHolder,
height: height,
width: width,
fit: fit ?? BoxFit.cover,
),
);
case ImageType.png:
default:
return Image.asset(
imagePath!,
height: height,
width: width,
fit: fit ?? BoxFit.cover,
color: color,
);
}
}
return SizedBox();
}
}
extension ImageTypeExtension on String {
ImageType get imageType {
if (this.startsWith('http') || this.startsWith('https')) {
return ImageType.network;
} else if (this.endsWith('.svg')) {
return ImageType.svg;
} else if (this.startsWith('file://')) {
return ImageType.file;
} else {
return ImageType.png;
}
}
}
enum ImageType { svg, png, network, file, unknown }
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/widgets/custom_icon_button.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
class CustomIconButton extends StatelessWidget {
CustomIconButton({
Key? key,
this.alignment,
this.height,
this.width,
this.padding,
this.decoration,
this.child,
this.onTap,
}) : super(
key: key,
);
final Alignment? alignment;
final double? height;
final double? width;
final EdgeInsetsGeometry? padding;
final BoxDecoration? decoration;
final Widget? child;
final VoidCallback? onTap;
@override
Widget build(BuildContext context) {
return alignment != null
? Align(
alignment: alignment ?? Alignment.center,
child: iconButtonWidget,
)
: iconButtonWidget;
}
Widget get iconButtonWidget => SizedBox(
height: height ?? 0,
width: width ?? 0,
child: IconButton(
padding: EdgeInsets.zero,
icon: Container(
height: height ?? 0,
width: width ?? 0,
padding: padding ?? EdgeInsets.zero,
decoration: decoration ??
BoxDecoration(
borderRadius: BorderRadius.circular(7.h),
border: Border.all(
color: appTheme.black900,
width: 1.h,
),
),
child: child,
),
onPressed: onTap,
),
);
}
/// Extension on [CustomIconButton] to facilitate inclusion of all types of border style etc
extension IconButtonStyleHelper on CustomIconButton {
static BoxDecoration get fillGray => BoxDecoration(
color: appTheme.gray5002,
borderRadius: BorderRadius.circular(14.h),
);
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/widgets | mirrored_repositories/Evyan-Todo-App/lib/widgets/app_bar/appbar_leading_iconbutton.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/widgets/custom_icon_button.dart';
// ignore: must_be_immutable
class AppbarLeadingIconbutton extends StatelessWidget {
AppbarLeadingIconbutton({
Key? key,
this.imagePath,
this.margin,
this.onTap,
}) : super(
key: key,
);
String? imagePath;
EdgeInsetsGeometry? margin;
Function? onTap;
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () {
onTap!.call();
},
child: Padding(
padding: margin ?? EdgeInsets.zero,
child: CustomIconButton(
height: 24.adaptSize,
width: 24.adaptSize,
child: CustomImageView(
imagePath: ImageConstant.imgArrowLeft,
),
),
),
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/widgets | mirrored_repositories/Evyan-Todo-App/lib/widgets/app_bar/appbar_image.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
// ignore: must_be_immutable
class AppbarImage extends StatelessWidget {
AppbarImage(
{required this.height,
required this.width,
this.imagePath,
this.svgPath,
this.margin,
this.onTap});
double height;
double width;
String? imagePath;
String? svgPath;
EdgeInsetsGeometry? margin;
Function? onTap;
@override
Widget build(BuildContext context) {
return InkWell(
onTap: () {
onTap?.call();
},
child: Padding(
padding: margin ?? EdgeInsets.zero,
child: CustomImageView(
svgPath: svgPath,
imagePath: imagePath,
height: height,
width: width,
fit: BoxFit.contain,
),
),
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/widgets | mirrored_repositories/Evyan-Todo-App/lib/widgets/app_bar/custom_app_bar.dart | import 'package:flutter/material.dart';
import 'package:flutter_slider_drawer/flutter_slider_drawer.dart';
import 'package:todo_app/core/app_export.dart';
import '../../main.dart';
import '../../theme/colors.dart';
// ignore: must_be_immutable
class CustomAppBar extends StatelessWidget implements PreferredSizeWidget {
CustomAppBar({
Key? key,
this.height,
this.leadingWidth,
this.leading,
this.title,
this.centerTitle,
this.actions,
}) : super(
key: key,
);
final double? height;
final double? leadingWidth;
final Widget? leading;
final Widget? title;
final bool? centerTitle;
final List<Widget>? actions;
@override
Widget build(BuildContext context) {
return AppBar(
elevation: 0,
toolbarHeight: height ?? 56.v,
automaticallyImplyLeading: false,
backgroundColor: Colors.indigo.shade900,
leadingWidth: leadingWidth ?? 0,
leading: leading,
title: title,
titleSpacing: 0,
centerTitle: centerTitle ?? false,
actions: actions,
);
}
@override
Size get preferredSize => Size(
SizeUtils.width,
height ?? 56.v,
);
}
class CustomAppBarWithBottomBar extends StatelessWidget
implements PreferredSizeWidget {
CustomAppBarWithBottomBar(
{Key? key,
this.height,
this.leadingWidth,
this.leading,
this.title,
this.centerTitle,
this.actions,
this.trailing,
this.bottom})
: super(
key: key,
);
final double? height;
final double? leadingWidth;
final Widget? leading;
final Widget? trailing;
final Widget? title;
final bool? centerTitle;
final List<Widget>? actions;
final PreferredSizeWidget? bottom;
@override
Widget build(BuildContext context) {
return AppBar(
elevation: 0,
toolbarHeight: height ?? 56.v,
automaticallyImplyLeading: false,
backgroundColor: Colors.indigo.shade900,
leadingWidth: leadingWidth ?? 0,
leading: leading,
title: title,
titleSpacing: 0,
centerTitle: centerTitle ?? false,
actions: actions,
bottom: bottom,
);
}
@override
Size get preferredSize => Size(
SizeUtils.width,
height ?? 56.v,
);
}
/// My Drawer Slider
class MySlider extends StatelessWidget {
MySlider({
Key? key,
}) : super(key: key);
/// Icons
List<IconData> icons = [
Icons.home,
Icons.person,
Icons.settings,
Icons.info,
];
/// Texts
List<String> texts = [
"Home",
"Profile",
"Settings",
"Details",
];
@override
Widget build(BuildContext context) {
var textTheme = Theme.of(context).textTheme;
return Container(
padding: const EdgeInsets.symmetric(vertical: 90),
decoration: const BoxDecoration(
gradient: LinearGradient(
colors: MyColors.primaryGradientColor,
begin: Alignment.topLeft,
end: Alignment.bottomRight),
),
child: Column(
children: [
const CircleAvatar(
backgroundColor: Colors.white,
radius: 50,
backgroundImage: AssetImage(
'assets/images/penguin (1).png',
),
),
const SizedBox(
height: 8,
),
Text("EvyanInspires", style: textTheme.headlineLarge),
Text("[Flutter Android Developer]", style: textTheme.headlineSmall),
Container(
margin: const EdgeInsets.symmetric(
vertical: 30,
horizontal: 10,
),
width: double.infinity,
height: 300,
child: ListView.builder(
itemCount: icons.length,
physics: const NeverScrollableScrollPhysics(),
itemBuilder: (ctx, i) {
return InkWell(
// ignore: avoid_print
onTap: () => print("$i Selected"),
child: Container(
margin: const EdgeInsets.all(5),
child: ListTile(
leading: Icon(
icons[i],
color: Colors.white70,
size: 30,
),
title: Text(
texts[i],
style: const TextStyle(
color: Colors.black54,
),
)),
),
);
}),
)
],
),
);
}
}
/// My App Bar
class MyAppBar extends StatefulWidget implements PreferredSizeWidget {
MyAppBar({
Key? key,
required this.drawerKey,
}) : super(key: key);
GlobalKey<SliderDrawerState> drawerKey;
@override
State<MyAppBar> createState() => _MyAppBarState();
@override
Size get preferredSize => const Size.fromHeight(100);
}
class _MyAppBarState extends State<MyAppBar>
with SingleTickerProviderStateMixin {
late AnimationController controller;
bool isDrawerOpen = false;
@override
void initState() {
super.initState();
controller = AnimationController(
vsync: this,
duration: const Duration(milliseconds: 1000),
);
}
@override
void dispose() {
controller.dispose();
super.dispose();
}
/// toggle for drawer and icon aniamtion
void toggle() {
setState(() {
isDrawerOpen = !isDrawerOpen;
if (isDrawerOpen) {
controller.forward();
widget.drawerKey.currentState!.openSlider();
} else {
controller.reverse();
widget.drawerKey.currentState!.closeSlider();
}
});
}
@override
Widget build(BuildContext context) {
var base = BaseWidget.of(context).dataStore.box;
return SizedBox(
width: double.infinity,
height: 132,
child: Padding(
padding: const EdgeInsets.only(top: 20),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
/// Animated Icon - Menu & Close
Padding(
padding: const EdgeInsets.only(left: 20),
child: IconButton(
splashColor: Colors.transparent,
highlightColor: Colors.transparent,
icon: AnimatedIcon(
icon: AnimatedIcons.menu_close,
progress: controller,
size: 40,
),
onPressed: toggle),
),
/// Delete Icon
// Padding(
// padding: const EdgeInsets.only(right: 20),
// child: GestureDetector(
// onTap: () {
// base.isEmpty
// ? warningNoTask(context)
// : deleteAllTask(context);
// },
// child: const Icon(
// CupertinoIcons.trash,
// size: 40,
// ),
// ),
// ),
],
),
),
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/widgets | mirrored_repositories/Evyan-Todo-App/lib/widgets/app_bar/appbar_title.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
// ignore: must_be_immutable
class AppbarTitle extends StatelessWidget {
AppbarTitle({
Key? key,
required this.text,
this.margin,
this.onTap,
}) : super(
key: key,
);
String text;
EdgeInsetsGeometry? margin;
Function? onTap;
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () {
onTap!.call();
},
child: Padding(
padding: margin ?? EdgeInsets.zero,
child: Text(
text,
style: theme.textTheme.titleMedium!.copyWith(
color: Colors.white70,
),
),
),
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/routes/app_routes.dart | import 'package:get/get.dart';
import 'package:todo_app/presentation/add_task_form_screen/binding/task_form_binding.dart';
import 'package:todo_app/presentation/app_navigation_screen/app_navigation_screen.dart';
import 'package:todo_app/presentation/app_navigation_screen/binding/app_navigation_binding.dart';
import 'package:todo_app/presentation/forgot_password_screen/binding/forgot_password_binding.dart';
import 'package:todo_app/presentation/forgot_password_screen/forgot_password_screen.dart';
import 'package:todo_app/presentation/home_screen/binding/home_binding.dart';
import 'package:todo_app/presentation/home_screen/home_screen.dart';
import 'package:todo_app/presentation/language_screen/binding/language_binding.dart';
import 'package:todo_app/presentation/language_screen/language_screen.dart';
import 'package:todo_app/presentation/login_or_signup_screen/binding/login_or_signup_binding.dart';
import 'package:todo_app/presentation/login_or_signup_screen/login_or_signup_screen.dart';
import 'package:todo_app/presentation/login_screen/binding/login_binding.dart';
import 'package:todo_app/presentation/login_screen/login_screen.dart';
import 'package:todo_app/presentation/personality_screen/binding/personality_binding.dart';
import 'package:todo_app/presentation/personality_screen/personality_screen.dart';
import 'package:todo_app/presentation/settings_screen/binding/settings_binding.dart';
import 'package:todo_app/presentation/settings_screen/settings_screen.dart';
import 'package:todo_app/presentation/signup_screen/binding/signup_binding.dart';
import 'package:todo_app/presentation/signup_screen/signup_screen.dart';
import 'package:todo_app/presentation/task_list_screen/task_list_screen.dart';
import 'package:todo_app/presentation/termsandconditions_screen/binding/termsandconditions_binding.dart';
import 'package:todo_app/presentation/termsandconditions_screen/termsandconditions_screen.dart';
import 'package:todo_app/presentation/wish_list_screen/binding/wish_list_binding.dart';
import 'package:todo_app/presentation/wish_list_screen/wish_list_screen.dart';
import 'package:todo_app/presentation/work_today_screen/binding/work_today_binding.dart';
import 'package:todo_app/presentation/work_today_screen/work_today_screen.dart';
import 'package:todo_app/widgets/progress_time_picker.dart';
import '../presentation/add_task_form_screen/task_form_screen.dart';
import '../presentation/prioritise_screen/binding/prioritise_binding.dart';
import '../presentation/prioritise_screen/prioritise_screen.dart';
import '../presentation/scheduling_screen/binding/scheduling_binding.dart';
import '../presentation/scheduling_screen/scheduling_screen.dart';
import '../presentation/splash_screen/binding/adacana_binding.dart';
import '../presentation/splash_screen/splash_screen.dart';
import '../presentation/task_list_screen/binding/task_list_binding.dart';
import '../presentation/task_views_screen/binding/task_views_binding.dart';
import '../presentation/task_views_screen/task_views_screen.dart';
import '../widgets/date_range_picker.dart';
class AppRoutes {
static const String splashScreen = '/Splash_screen';
static const String loginOrSignupScreen = '/login_or_signup_screen';
static const String signupScreen = '/signup_screen';
static const String loginScreen = '/login_screen';
static const String forgotPasswordScreen = '/forgot_password_screen';
static const String homeScreen = '/home_screen';
static const String personalityScreen = '/personality_screen';
static const String workTodayScreen = '/work_today_screen';
static const String wishListScreen = '/wish_list_screen';
static const String settingsScreen = '/settings_screen';
static const String languageScreen = '/language_screen';
static const String termsandconditionsScreen = '/termsandconditions_screen';
static const String appNavigationScreen = '/app_navigation_screen';
static const String initialRoute = '/initialRoute';
static const String calendarScreen = '/calendar_screen';
static const String schedulingScreen = '/scheduling_screen';
static const String myTaskScreen = '/task_list_screen';
static const String prioritiseScreen = '/prioritise_screen';
static const String taskAllocatorScreen = '/task_allocator_screen';
static const String taskBlockerScreen = '/task_blocker_screen';
static const String taskViewsScreen = '/task_views_screen';
static const String longTermTask = '/time_duration_picker.dart';
static const String taskFormScreen = '/task_form_screen';
static const String progressTimePicker = '/progress_time_picker.dart';
static List<GetPage> pages = [
GetPage(
name: splashScreen,
page: () => SplashScreen(),
bindings: [
SplashBinding(),
],
),
GetPage(
name: loginOrSignupScreen,
page: () => LoginOrSignupScreen(),
bindings: [
LoginOrSignupBinding(),
],
),
GetPage(
name: signupScreen,
page: () => SignupScreen(),
bindings: [
SignupBinding(),
],
),
GetPage(
name: loginScreen,
page: () => LoginScreen(),
bindings: [
LoginBinding(),
],
),
GetPage(
name: forgotPasswordScreen,
page: () => ForgotPasswordScreen(),
bindings: [
ForgotPasswordBinding(),
],
),
GetPage(
name: homeScreen,
page: () => HomeScreen(),
bindings: [
HomeBinding(),
],
),
GetPage(
name: personalityScreen,
page: () => PersonalityScreen(),
bindings: [
PersonalityBinding(),
],
),
GetPage(
name: workTodayScreen,
page: () => WorkTodayScreen(),
bindings: [
WorkTodayBinding(),
],
),
// GetPage(
// name: calendarScreen,
// page: () => CalendarScreen(),
// bindings: [CalendarScreenBinding()]),
GetPage(
name: wishListScreen,
page: () => WishListScreen(),
bindings: [
WishListBinding(),
],
),
GetPage(
name: settingsScreen,
page: () => SettingsScreen(),
bindings: [
SettingsBinding(),
],
),
GetPage(
name: languageScreen,
page: () => LanguageScreen(),
bindings: [
LanguageBinding(),
],
),
GetPage(
name: termsandconditionsScreen,
page: () => TermsandconditionsScreen(),
bindings: [
TermsandconditionsBinding(),
],
),
GetPage(
name: appNavigationScreen,
page: () => AppNavigationScreen(),
bindings: [
AppNavigationBinding(),
],
),
GetPage(
name: initialRoute,
page: () => SplashScreen(),
bindings: [
SplashBinding(),
],
),
GetPage(
name: schedulingScreen,
page: () => SchedulingScreen(),
bindings: [
SchedulingBinding(),
],
),
GetPage(
name: taskViewsScreen,
page: () => TaskViewsScreen(),
),
GetPage(
name: prioritiseScreen,
page: () => PrioritiseScreen(),
bindings: [
PrioritiseBinding(),
],
),
GetPage(
name: taskViewsScreen,
page: () => TaskViewsScreen(),
bindings: [
TaskViewsBinding(),
],
),
GetPage(
name: myTaskScreen,
page: () => MyTaskScreen(),
bindings: [
TaskListBinding(),
],
),
GetPage(
name: longTermTask,
page: () => LongTermTask(),
),
GetPage(
name: progressTimePicker,
page: () => ProgressTimePickerWidget(),
),
GetPage(
name: taskFormScreen,
page: () => TaskFormScreen(),
bindings: [
TaskFormBinding(),
],
),
];
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/data/hive_data_store.dart | import 'package:flutter/foundation.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'models/task.dart';
///
class HiveDataStore {
static const boxName = "tasksBox";
final Box<Task> box = Hive.box<Task>(boxName);
/// Add new Task
Future<void> addTask({required Task task}) async {
await box.put(task.id, task);
}
/// Show task
Future<Task?> getTask({required String id}) async {
return box.get(id);
}
/// Update task
Future<void> updateTask({required Task task}) async {
await task.save();
}
/// Delete task
Future<void> dalateTask({required Task task}) async {
await task.delete();
}
ValueListenable<Box<Task>> listenToTask() {
return box.listenable();
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/data | mirrored_repositories/Evyan-Todo-App/lib/data/models/task.dart | import 'package:hive/hive.dart';
import 'package:uuid/uuid.dart';
part 'task.g.dart';
@HiveType(typeId: 0)
class Task extends HiveObject {
Task(
{required this.id,
required this.title,
required this.subtitle,
required this.createdAtTime,
required this.createdAtDate,
required this.taskTimePeriod,
required this.isCompleted});
/// ID
@HiveField(0)
final String id;
/// TITLE
@HiveField(1)
String title;
/// SUBTITLE
@HiveField(2)
String subtitle;
/// CREATED AT TIME
@HiveField(3)
DateTime createdAtTime;
/// CREATED AT DATE
@HiveField(4)
DateTime createdAtDate;
/// CREATED AT DATE
@HiveField(5)
DateTime taskTimePeriod;
/// IS COMPLETED
@HiveField(6)
bool isCompleted;
/// create new Task
factory Task.create({
required String? title,
required String? subtitle,
DateTime? createdAtTime,
DateTime? createdAtDate,
DateTime? taskTimePeriod,
}) =>
Task(
id: const Uuid().v1(),
title: title ?? "",
subtitle: subtitle ?? "",
createdAtTime: createdAtTime ?? DateTime.now(),
isCompleted: false,
createdAtDate: createdAtDate ?? DateTime.now(),
taskTimePeriod: createdAtDate ?? DateTime.now(),
);
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/data | mirrored_repositories/Evyan-Todo-App/lib/data/models/task.g.dart | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'task.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class TaskAdapter extends TypeAdapter<Task> {
@override
final int typeId = 0;
@override
Task read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return Task(
id: fields[0] as String,
title: fields[1] as String,
subtitle: fields[2] as String,
createdAtTime: fields[3] as DateTime,
createdAtDate: fields[4] as DateTime,
taskTimePeriod: fields[5] as DateTime,
isCompleted: fields[6] as bool,
);
}
@override
void write(BinaryWriter writer, Task obj) {
writer
..writeByte(0)
..write(obj.id)
..writeByte(1)
..write(obj.title)
..writeByte(2)
..write(obj.subtitle)
..writeByte(3)
..write(obj.createdAtTime)
..writeByte(4)
..write(obj.createdAtDate)
..writeByte(5)
..write(obj.taskTimePeriod)
..writeByte(6)
..write(obj.isCompleted);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is TaskAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/data/models | mirrored_repositories/Evyan-Todo-App/lib/data/models/selectionPopupModel/selection_popup_model.dart | ///SelectionPopupModel is common model
///used for setting data into dropdowns
class SelectionPopupModel {
int? id;
String title;
dynamic value;
bool isSelected;
SelectionPopupModel({
this.id,
required this.title,
this.value,
this.isSelected = false,
});
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/data | mirrored_repositories/Evyan-Todo-App/lib/data/apiClient/api_client.dart | import 'package:todo_app/core/app_export.dart';
class ApiClient extends GetConnect {}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/core/app_export.dart | export 'package:connectivity_plus/connectivity_plus.dart';
export 'package:get/get.dart';
export 'package:permission_handler/permission_handler.dart';
export 'package:todo_app/core/constants/constants.dart';
export 'package:todo_app/core/errors/exceptions.dart';
export 'package:todo_app/core/network/network_info.dart';
export 'package:todo_app/core/utils/color_constant.dart';
export 'package:todo_app/core/utils/date_time_utils.dart';
export 'package:todo_app/core/utils/file_upload_helper.dart';
export 'package:todo_app/core/utils/image_constant.dart';
export 'package:todo_app/core/utils/initial_bindings.dart';
export 'package:todo_app/core/utils/logger.dart';
export 'package:todo_app/core/utils/permission_manager.dart';
export 'package:todo_app/core/utils/pref_utils.dart';
export 'package:todo_app/core/utils/size_utils.dart';
export 'package:todo_app/data/models/selectionPopupModel/selection_popup_model.dart';
export 'package:todo_app/localization/app_localization.dart';
export 'package:todo_app/routes/app_routes.dart';
export 'package:todo_app/theme/app_decoration.dart';
export 'package:todo_app/theme/custom_text_style.dart';
export 'package:todo_app/theme/theme_helper.dart';
export 'package:todo_app/widgets/custom_image_view.dart';
export 'package:get/get.dart';
export 'package:connectivity_plus/connectivity_plus.dart';
export '../theme/custom_button_style.dart';
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/network/network_info.dart | import 'package:connectivity_plus/connectivity_plus.dart';
// For checking internet connectivity
abstract class NetworkInfoI {
Future<bool> isConnected();
Future<ConnectivityResult> get connectivityResult;
Stream<ConnectivityResult> get onConnectivityChanged;
}
class NetworkInfo implements NetworkInfoI {
Connectivity connectivity;
NetworkInfo(this.connectivity) {
connectivity = this.connectivity;
}
///checks internet is connected or not
///returns [true] if internet is connected
///else it will return [false]
@override
Future<bool> isConnected() async {
final result = await connectivity.checkConnectivity();
if (result != ConnectivityResult.none) {
return true;
}
return false;
}
// to check type of internet connectivity
@override
Future<ConnectivityResult> get connectivityResult async {
return connectivity.checkConnectivity();
}
//check the type on internet connection on changed of internet connection
@override
Stream<ConnectivityResult> get onConnectivityChanged =>
connectivity.onConnectivityChanged;
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/constants/role.dart | class Role {
static int user = 1;
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/constants/constants.dart | 0 |
|
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/errors/exceptions.dart | class ServerException implements Exception {}
class CacheException implements Exception {}
class NetworkException implements Exception {}
///can be used for throwing [NoInternetException]
class NoInternetException implements Exception {
late String _message;
NoInternetException([String message = 'NoInternetException Occurred']) {
this._message = message;
}
@override
String toString() {
return _message;
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/errors/failures.dart | abstract class Failure {}
// General failures
class ServerFailure extends Failure {}
class CacheFailure extends Failure {}
class NetworkFailure extends Failure {}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/initial_bindings.dart | import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/data/apiClient/api_client.dart';
class InitialBindings extends Bindings {
@override
void dependencies() {
Get.put(PrefUtils());
Get.put(ApiClient());
Connectivity connectivity = Connectivity();
Get.put(NetworkInfo(connectivity));
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/date_time_utils.dart | import 'package:intl/date_symbol_data_local.dart';
import 'package:intl/intl.dart';
const String dateTimeFormatPattern = 'dd/MM/yyyy';
extension DateTimeExtension on DateTime {
/// Return a string representing [date] formatted according to our locale
String format([
String pattern = dateTimeFormatPattern,
String? locale,
]) {
if (locale != null && locale.isNotEmpty) {
initializeDateFormatting(locale);
}
return DateFormat(pattern, locale).format(this);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/logger.dart | class Logger {
static LogMode _logMode = LogMode.debug;
static void init(LogMode mode) {
Logger._logMode = mode;
}
static void log(dynamic data, {StackTrace? stackTrace}) {
if (_logMode == LogMode.debug) {
print("Error: $data$stackTrace");
}
}
}
enum LogMode { debug, live }
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/image_constant.dart | class ImageConstant {
// Image folder path
static String imagePath = 'assets/images';
// logo images
static String imgLogo = '$imagePath/checklist.png';
// Login or SignUp images
static String imgLogoGray5001 = '$imagePath/penguin.png';
// SignUp images
static String imgLogoGray5001120x114 = '$imagePath/penguin (1).png';
// Login images
static String imgLogoGray5001113x116 = '$imagePath/penguin (1).png';
// Forgot Password images
static String imgLogoGray5001121x135 = '$imagePath/penguin.png';
// Home images
static String imgUser = '$imagePath/img_user.svg';
static String imgStroke1 = '$imagePath/img_stroke_1.svg';
static String imgFile = '$imagePath/img_file.svg';
static String imgStroke1DeepPurpleA400 =
'$imagePath/img_stroke_1_deep_purple_a400.svg';
static String imgSearch = '$imagePath/img_search.svg';
static String imgStroke1Primary = '$imagePath/img_stroke_1_primary.svg';
// Work Today images
static String imgArrowLeftBlack900 =
'$imagePath/img_arrow_left_black_900.svg';
static String imgArrowIcon = '$imagePath/img_arrow_icon.svg';
// Wish List images
static String imgCalendarOnprimarycontainer =
'$imagePath/img_calendar_onprimarycontainer.svg';
static String imgClose = '$imagePath/img_close.svg';
// Settings images
static String imgArrowRight = '$imagePath/img_arrow_right.svg';
// Common images
static String imgArrowLeft = '$imagePath/img_arrow_left.svg';
static String imgProfileImage = '$imagePath/img_profile_image.png';
static String imgCalendar = '$imagePath/img_calendar.svg';
static String imageNotFound = 'assets/images/image_not_found.png';
static String imgCar = 'assets/images/img_car.svg';
static String imgEllipse870x70 = 'assets/images/img_ellipse8_70x70.png';
static String imgEllipse770x70 = 'assets/images/img_ellipse7_70x70.png';
static String imgEllipse670x70 = 'assets/images/img_ellipse6_70x70.png';
static String imgArrowleft = 'assets/images/img_arrowleft.svg';
static String imgLocation16x16 = 'assets/images/img_location_16x16.svg';
static String imgEllipse1224x241 = 'assets/images/img_ellipse12_24x24_1.png';
static String imgSort = 'assets/images/img_sort.svg';
static String imgEllipse516x16 = 'assets/images/img_ellipse5_16x16.png';
static String imgEllipse1524x24 = 'assets/images/img_ellipse15_24x24.png';
static String imgEllipse316x16 = 'assets/images/img_ellipse3_16x16.png';
static String imgEllipse416x16 = 'assets/images/img_ellipse4_16x16.png';
static String imgEllipse1070x70 = 'assets/images/img_ellipse10_70x70.png';
static String imgArrowdownBlueGray200 =
'assets/images/img_arrowdown_blue_gray_200.svg';
static String imgSignal = 'assets/images/img_signal.svg';
static String imgOverflowmenu24x24 =
'assets/images/img_overflowmenu_24x24.svg';
static String imgEllipse1224x242 = 'assets/images/img_ellipse12_24x24_2.png';
static String imgPlus = 'assets/images/img_plus.svg';
// static String imgFile = 'assets/images/img_file.svg';
static String imgEdit = 'assets/images/img_edit.svg';
static String imgEllipse970x70 = 'assets/images/img_ellipse9_70x70.png';
static String imgLocation = 'assets/images/img_location.svg';
static String imgEllipse1324x252 = 'assets/images/img_ellipse13_24x25_2.png';
static String imgOverflowmenu1 = 'assets/images/img_overflowmenu_1.svg';
static String imgEllipse1324x251 = 'assets/images/img_ellipse13_24x25_1.png';
static String imgOverflowmenu = 'assets/images/img_overflowmenu.svg';
// static String imageNotFound = 'assets/images/image_not_found.png';
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/size_utils.dart | import 'package:flutter/material.dart';
// These are the Viewport values of your Figma Design.
// These are used in the code as a reference to create your UI Responsively.
const num FIGMA_DESIGN_WIDTH = 375;
const num FIGMA_DESIGN_HEIGHT = 812;
const num FIGMA_DESIGN_STATUS_BAR = 0;
typedef ResponsiveBuild = Widget Function(
BuildContext context,
Orientation orientation,
DeviceType deviceType,
);
class Sizer extends StatelessWidget {
const Sizer({
Key? key,
required this.builder,
}) : super(key: key);
/// Builds the widget whenever the orientation changes.
final ResponsiveBuild builder;
@override
Widget build(BuildContext context) {
return LayoutBuilder(builder: (context, constraints) {
return OrientationBuilder(builder: (context, orientation) {
SizeUtils.setScreenSize(constraints, orientation);
return builder(context, orientation, SizeUtils.deviceType);
});
});
}
}
class SizeUtils {
/// Device's BoxConstraints
static late BoxConstraints boxConstraints;
/// Device's Orientation
static late Orientation orientation;
/// Type of Device
///
/// This can either be mobile or tablet
static late DeviceType deviceType;
/// Device's Height
static late double height;
/// Device's Width
static late double width;
static void setScreenSize(
BoxConstraints constraints,
Orientation currentOrientation,
) {
// Sets boxConstraints and orientation
boxConstraints = constraints;
orientation = currentOrientation;
// Sets screen width and height
if (orientation == Orientation.portrait) {
width =
boxConstraints.maxWidth.isNonZero(defaultValue: FIGMA_DESIGN_WIDTH);
height = boxConstraints.maxHeight.isNonZero();
} else {
width =
boxConstraints.maxHeight.isNonZero(defaultValue: FIGMA_DESIGN_WIDTH);
height = boxConstraints.maxWidth.isNonZero();
}
deviceType = DeviceType.mobile;
}
}
Size size = WidgetsBinding.instance.window.physicalSize /
WidgetsBinding.instance.window.devicePixelRatio;
///This method is used to get device viewport width.
get width {
return size.width;
}
///This method is used to set margin responsively
EdgeInsetsGeometry getMargin({
double? all,
double? left,
double? top,
double? right,
double? bottom,
}) {
return getMarginOrPadding(
all: all,
left: left,
top: top,
right: right,
bottom: bottom,
);
}
EdgeInsetsGeometry getMarginOrPadding({
double? all,
double? left,
double? top,
double? right,
double? bottom,
}) {
if (all != null) {
left = all;
top = all;
right = all;
bottom = all;
}
return EdgeInsets.only(
left: getHorizontalSize(
left ?? 0,
),
top: getVerticalSize(
top ?? 0,
),
right: getHorizontalSize(
right ?? 0,
),
bottom: getVerticalSize(
bottom ?? 0,
),
);
}
EdgeInsetsGeometry getPadding({
double? all,
double? left,
double? top,
double? right,
double? bottom,
}) {
return getMarginOrPadding(
all: all,
left: left,
top: top,
right: right,
bottom: bottom,
);
}
///This method is used to get device viewport height.
get height {
num statusBar =
MediaQueryData.fromWindow(WidgetsBinding.instance.window).viewPadding.top;
num bottomBar = MediaQueryData.fromWindow(WidgetsBinding.instance.window)
.viewPadding
.bottom;
num screenHeight = size.height - statusBar - bottomBar;
return screenHeight;
}
///This method is used to set padding/margin (for the left and Right side) & width of the screen or widget according to the Viewport width.
double getHorizontalSize(double px) {
return ((px * width) / FIGMA_DESIGN_WIDTH);
}
///This method is used to set padding/margin (for the top and bottom side) & height of the screen or widget according to the Viewport height.
double getVerticalSize(double px) {
return ((px * height) / (FIGMA_DESIGN_HEIGHT - FIGMA_DESIGN_STATUS_BAR));
}
double getSize(double px) {
var height = getVerticalSize(px);
var width = getHorizontalSize(px);
if (height < width) {
return height.toInt().toDouble();
} else {
return width.toInt().toDouble();
}
}
double getFontSize(double px) {
return getSize(px);
}
/// This extension is used to set padding/margin (for the top and bottom side) &
/// height of the screen or widget according to the Viewport height.
extension ResponsiveExtension on num {
/// This method is used to get device viewport width.
double get _width => SizeUtils.width;
/// This method is used to get device viewport height.
double get _height => SizeUtils.height;
/// This method is used to set padding/margin (for the left and Right side) &
/// width of the screen or widget according to the Viewport width.
double get h => ((this * _width) / FIGMA_DESIGN_WIDTH);
/// This method is used to set padding/margin (for the top and bottom side) &
/// height of the screen or widget according to the Viewport height.
double get v =>
(this * _height) / (FIGMA_DESIGN_HEIGHT - FIGMA_DESIGN_STATUS_BAR);
/// This method is used to set smallest px in image height and width
double get adaptSize {
var height = v;
var width = h;
return height < width ? height.toDoubleValue() : width.toDoubleValue();
}
/// This method is used to set text font size according to Viewport
double get fSize => adaptSize;
}
extension FormatExtension on double {
/// Return a [double] value with formatted according to provided fractionDigits
double toDoubleValue({int fractionDigits = 2}) {
return double.parse(this.toStringAsFixed(fractionDigits));
}
double isNonZero({num defaultValue = 0.0}) {
return this > 0 ? this : defaultValue.toDouble();
}
}
enum DeviceType { mobile, tablet, desktop }
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/color_constant.dart | import 'dart:ui';
import 'package:flutter/material.dart';
class ColorConstant {
static Color gray90002 = fromHex('#0d062d');
static Color gray400 = fromHex('#c8c7cc');
static Color blueGray100 = fromHex('#d6dae2');
static Color blueGray400 = fromHex('#74839d');
static Color red700 = fromHex('#d03329');
static Color blueA700 = fromHex('#0061ff');
static Color gray900 = fromHex('#202525');
static Color gray90001 = fromHex('#0f0e17');
static Color amber700 = fromHex('#da9e01');
static Color blueA70063 = fromHex('#630061ff');
static Color red500 = fromHex('#ff3b30');
static Color green600 = fromHex('#349765');
static Color gray50 = fromHex('#f9fbff');
static Color gray100 = fromHex('#fbf1f2');
static Color deepOrangeA10033 = fromHex('#33dfa874');
static Color black900 = fromHex('#000000');
static Color lightBlueA700 = fromHex('#007aff');
static Color deepOrangeA10019 = fromHex('#19dfa874');
static Color blueGray900 = fromHex('#262b35');
static Color blue200 = fromHex('#a6c8ff');
static Color deepOrange400 = fromHex('#d58c48');
static Color blueGray40001 = fromHex('#888888');
static Color whiteA700 = fromHex('#ffffff');
static Color gray70011 = fromHex('#11555555');
static Color fromHex(String hexString) {
final buffer = StringBuffer();
if (hexString.length == 6 || hexString.length == 7) buffer.write('ff');
buffer.write(hexString.replaceFirst('#', ''));
return Color(int.parse(buffer.toString(), radix: 16));
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/permission_manager.dart | import 'package:permission_handler/permission_handler.dart';
class PermissionManager {
///method returns bool and can be used for checking either
///particular permission is granted or not
static Future<bool> isPermissionGranted(Permission permission) async {
return !(await permission.status.isDenied ||
await permission.status.isRestricted);
}
///A common method used for asking permissions
static Future<void> askForPermission(Permission permission) async {
if (!await isPermissionGranted(permission)) {
await permission.request();
}
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/pref_utils.dart | //ignore: unused_import
import 'dart:convert';
import 'dart:ui';
import 'package:flutter/scheduler.dart';
import 'package:shared_preferences/shared_preferences.dart';
class PrefUtils {
static SharedPreferences? _sharedPreferences;
PrefUtils() {
// init();
SharedPreferences.getInstance().then((value) {
_sharedPreferences = value;
});
}
Future<void> init() async {
_sharedPreferences ??= await SharedPreferences.getInstance();
print('SharedPreference Initialized');
}
///will clear all the data stored in preference
void clearPreferencesData() async {
_sharedPreferences!.clear();
}
Future<void> setThemeData(String value) {
return _sharedPreferences!.setString('themeData', value);
}
String getThemeData() {
try {
return _sharedPreferences!.getString('themeData')!;
} catch (e) {
return 'primary';
}
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/progress_dialog_utils.dart | import 'package:flutter/material.dart';
import 'package:get/get.dart';
class ProgressDialogUtils {
static bool isProgressVisible = false;
///common method for showing progress dialog
static void showProgressDialog({isCancellable = false}) async {
if (!isProgressVisible) {
Get.dialog(
Center(
child: CircularProgressIndicator.adaptive(
strokeWidth: 4,
valueColor: AlwaysStoppedAnimation<Color>(
Colors.white,
),
),
),
barrierDismissible: isCancellable,
);
isProgressVisible = true;
}
}
///common method for hiding progress dialog
static void hideProgressDialog() {
if (isProgressVisible) Get.back();
isProgressVisible = false;
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/validation_functions.dart | /// Checks if string consist only Alphabet. (No Whitespace)
bool isText(
String? inputString, {
bool isRequired = false,
}) {
bool isInputStringValid = false;
if (!isRequired && (inputString == null ? true : inputString.isEmpty)) {
isInputStringValid = true;
}
if (inputString != null && inputString.isNotEmpty) {
const pattern = r'^[a-zA-Z]+$';
final regExp = RegExp(pattern);
isInputStringValid = regExp.hasMatch(inputString);
}
return isInputStringValid;
}
/// Checks if string is email.
bool isValidEmail(
String? inputString, {
bool isRequired = false,
}) {
bool isInputStringValid = false;
if (!isRequired && (inputString == null ? true : inputString.isEmpty)) {
isInputStringValid = true;
}
if (inputString != null && inputString.isNotEmpty) {
const pattern =
r'^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$';
final regExp = RegExp(pattern);
isInputStringValid = regExp.hasMatch(inputString);
}
return isInputStringValid;
}
/// Password should have,
/// at least a upper case letter
/// at least a lower case letter
/// at least a digit
/// at least a special character [@#$%^&+=]
/// length of at least 4
/// no white space allowed
bool isValidPassword(
String? inputString, {
bool isRequired = false,
}) {
bool isInputStringValid = false;
if (!isRequired && (inputString == null ? true : inputString.isEmpty)) {
isInputStringValid = true;
}
if (inputString != null && inputString.isNotEmpty) {
const pattern =
r'^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W]){1,})(?!.*\s).{8,}$';
final regExp = RegExp(pattern);
isInputStringValid = regExp.hasMatch(inputString);
}
return isInputStringValid;
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/core | mirrored_repositories/Evyan-Todo-App/lib/core/utils/file_upload_helper.dart | import 'package:file_picker/file_picker.dart';
import 'package:get/get.dart';
class FileManager {
Future filePickerMethod(
int maxFileSize,
List<String>? allowedExtensions, {
void Function(List<String?>)? getFiles,
}) async {
FilePickerResult? result = await FilePicker.platform
.pickFiles(type: FileType.custom, allowedExtensions: allowedExtensions);
List<String?> filesList = [];
if (result != null) {
for (var element in result.files) {
if (element.size <= maxFileSize) {
filesList.add(element.path);
} else {
Get.snackbar('msg', 'file size should not be more than $maxFileSize');
}
}
}
if (getFiles != null) {
getFiles(filesList);
}
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/theme/theme_helper.dart | import 'package:flutter/material.dart';
import '../../core/app_export.dart';
/// Helper class for managing themes and colors.
class ThemeHelper {
// The current app theme
var _appTheme = PrefUtils().getThemeData();
// A map of custom color themes supported by the app
Map<String, PrimaryColors> _supportedCustomColor = {
'primary': PrimaryColors()
};
// A map of color schemes supported by the app
Map<String, ColorScheme> _supportedColorScheme = {
'primary': ColorSchemes.primaryColorScheme
};
/// Changes the app theme to [_newTheme].
void changeTheme(String _newTheme) {
PrefUtils().setThemeData(_newTheme);
Get.forceAppUpdate();
}
/// Returns the primary colors for the current theme.
PrimaryColors _getThemeColors() {
//throw exception to notify given theme is not found or not generated by the generator
if (!_supportedCustomColor.containsKey(_appTheme)) {
throw Exception(
"$_appTheme is not found.Make sure you have added this theme class in JSON Try running flutter pub run build_runner");
}
//return theme from map
return _supportedCustomColor[_appTheme] ?? PrimaryColors();
}
/// Returns the current theme data.
ThemeData _getThemeData() {
//throw exception to notify given theme is not found or not generated by the generator
if (!_supportedColorScheme.containsKey(_appTheme)) {
throw Exception(
"$_appTheme is not found.Make sure you have added this theme class in JSON Try running flutter pub run build_runner");
}
//return theme from map
var colorScheme =
_supportedColorScheme[_appTheme] ?? ColorSchemes.primaryColorScheme;
return ThemeData(
visualDensity: VisualDensity.standard,
colorScheme: colorScheme,
textTheme: TextThemes.textTheme(colorScheme),
scaffoldBackgroundColor: appTheme.whiteA700,
elevatedButtonTheme: ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.indigo,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(14.h),
),
visualDensity: const VisualDensity(
vertical: -4,
horizontal: -4,
),
padding: EdgeInsets.zero,
),
),
outlinedButtonTheme: OutlinedButtonThemeData(
style: OutlinedButton.styleFrom(
backgroundColor: Colors.transparent,
side: BorderSide(
color: appTheme.redA40066,
width: 1.h,
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(14.h),
),
visualDensity: const VisualDensity(
vertical: -4,
horizontal: -4,
),
padding: EdgeInsets.zero,
),
),
);
}
/// Returns the primary colors for the current theme.
PrimaryColors themeColor() => _getThemeColors();
/// Returns the current theme data.
ThemeData themeData() => _getThemeData();
}
/// Class containing the supported text theme styles.
class TextThemes {
static TextTheme textTheme(ColorScheme colorScheme) => TextTheme(
bodyLarge: TextStyle(
color: colorScheme.onPrimary.withOpacity(0.4),
fontSize: 18.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w400,
),
bodyMedium: TextStyle(
color: colorScheme.onPrimary.withOpacity(1),
fontSize: 14.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w400,
),
bodySmall: TextStyle(
color: colorScheme.onPrimary.withOpacity(0.4),
fontSize: 12.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w400,
),
displaySmall: TextStyle(
color: colorScheme.onPrimary,
fontSize: 34.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w700,
),
headlineMedium: TextStyle(
color: colorScheme.onPrimary,
fontSize: 28.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w600,
),
labelLarge: TextStyle(
color: colorScheme.onPrimary.withOpacity(0.4),
fontSize: 12.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w500,
),
titleLarge: TextStyle(
color: colorScheme.onPrimary,
fontSize: 20.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w600,
),
titleMedium: TextStyle(
color: colorScheme.onPrimary,
fontSize: 18.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w600,
),
titleSmall: TextStyle(
color: colorScheme.onPrimary.withOpacity(0.4),
fontSize: 14.fSize,
fontFamily: 'Poppins',
fontWeight: FontWeight.w500,
),
);
}
/// Class containing the supported color schemes.
class ColorSchemes {
static final primaryColorScheme = ColorScheme.light(
// Primary colors
primary: Color(0XFF20B9FC),
secondaryContainer: Color(0X0CFD6B22),
// On colors(text colors)
onPrimary: Color(0XCC1B1F31),
onPrimaryContainer: Color(0XFFD6D6D6),
);
}
/// Class containing custom colors for a primary theme.
class PrimaryColors {
// Black
Color get black900 => Color(0XFF000000);
// DeepOrange
Color get deepOrange50 => Color(0XFFF9ECE9);
// DeepPurple
Color get deepPurpleA400 => Color(0XFF5835FB);
// Gray
Color get gray50 => Color(0XFFF9F9F9);
Color get gray5001 => Color(0XFFF9FAFF);
Color get gray5002 => Color(0XFFF4FBF8);
Color get gray5003 => Color(0XFFF7F5FF);
// RedAc
Color get redA4000c => Color(0X0CFD2222);
// Red
Color get redA40066 => Color(0X66FD2121);
// Teal
Color get teal400 => Color(0XFF22B07D);
// White
Color get whiteA700 => Color(0XFFFFFFFF);
}
PrimaryColors get appTheme => ThemeHelper().themeColor();
ThemeData get theme => ThemeHelper().themeData();
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/theme/app_decoration.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
class AppDecoration {
static BoxDecoration get outlineBlueA700 => BoxDecoration(
border: Border.all(
color: ColorConstant.blueA700,
width: getHorizontalSize(
2,
),
),
);
static BoxDecoration get fillGray50 => BoxDecoration(
color: ColorConstant.gray50,
);
static BoxDecoration get outlineGray70011 => BoxDecoration(
color: ColorConstant.whiteA700,
boxShadow: [
BoxShadow(
color: ColorConstant.gray70011,
spreadRadius: getHorizontalSize(
2,
),
blurRadius: getHorizontalSize(
2,
),
offset: Offset(
0,
0,
),
),
],
);
static BoxDecoration get fillBlueA700 => BoxDecoration(
color: ColorConstant.blueA700,
);
static BoxDecoration get fillWhiteA700 => BoxDecoration(
color: ColorConstant.whiteA700,
);
// Fill decorations
static BoxDecoration get fillDeepPurpleA => BoxDecoration(
color: appTheme.deepPurpleA400.withOpacity(0.05),
);
static BoxDecoration get fillGray => BoxDecoration(
color: appTheme.gray5001,
);
static BoxDecoration get fillPrimary => BoxDecoration(
color: theme.colorScheme.primary.withOpacity(0.05),
);
static BoxDecoration get fillSecondaryContainer => BoxDecoration(
color: theme.colorScheme.secondaryContainer,
);
static BoxDecoration get fillWhiteA => BoxDecoration(
color: appTheme.whiteA700,
);
// Outline decorations
static BoxDecoration get outlineBlack => BoxDecoration(
color: appTheme.gray50,
boxShadow: [
BoxShadow(
color: appTheme.black900.withOpacity(0.05),
spreadRadius: 2.h,
blurRadius: 2.h,
offset: Offset(
0,
4,
),
),
],
);
static BoxDecoration get outlineOnPrimary => BoxDecoration(
border: Border.all(
color: theme.colorScheme.onPrimary.withOpacity(0.1),
width: 1.h,
),
);
}
class BorderRadiusStyle {
static BorderRadius roundedBorder6 = BorderRadius.circular(
getHorizontalSize(
6,
),
);
static BorderRadius circleBorder35 = BorderRadius.circular(
getHorizontalSize(
35,
),
);
static BorderRadius circleBorder40 = BorderRadius.circular(
getHorizontalSize(
40,
),
);
static BorderRadius roundedBorder10 = BorderRadius.circular(
getHorizontalSize(
10,
),
);
// Rounded borders
static BorderRadius get roundedBorder14 => BorderRadius.circular(
14.h,
);
static BorderRadius get roundedBorder2 => BorderRadius.circular(
2.h,
);
static BorderRadius get roundedBorder69 => BorderRadius.circular(
69.h,
);
}
// Comment/Uncomment the below code based on your Flutter SDK version.
// For Flutter SDK Version 3.7.2 or greater.
double get strokeAlignInside => BorderSide.strokeAlignInside;
double get strokeAlignCenter => BorderSide.strokeAlignCenter;
double get strokeAlignOutside => BorderSide.strokeAlignOutside;
// For Flutter SDK Version 3.7.1 or less.
// StrokeAlign get strokeAlignInside => StrokeAlign.inside;
//
// StrokeAlign get strokeAlignCenter => StrokeAlign.center;
//
// StrokeAlign get strokeAlignOutside => StrokeAlign.outside;
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/theme/constanst.dart | import 'package:flutter/material.dart';
import 'package:ftoast/ftoast.dart';
import 'package:panara_dialogs/panara_dialogs.dart';
import 'package:todo_app/theme/strings.dart';
import '../main.dart';
///
/// Empty Title & Subtite TextFields Warning
emptyFieldsWarning(context) {
return FToast.toast(
context,
msg: MyString.oopsMsg,
subMsg: "You must fill all Fields!",
corner: 20.0,
duration: 2000,
padding: const EdgeInsets.all(20),
);
}
/// Nothing Enter When user try to edit the current tesk
nothingEnterOnUpdateTaskMode(context) {
return FToast.toast(
context,
msg: MyString.oopsMsg,
subMsg: "You must edit the tasks then try to update it!",
corner: 20.0,
duration: 3000,
padding: const EdgeInsets.all(20),
);
}
/// No task Warning Dialog
dynamic warningNoTask(BuildContext context) {
return PanaraInfoDialog.showAnimatedGrow(
context,
title: MyString.oopsMsg,
message:
"There is no Task For Delete!\n Try adding some and then try to delete it!",
buttonText: "Okay",
onTapDismiss: () {
Navigator.pop(context);
},
panaraDialogType: PanaraDialogType.warning,
);
}
/// Delete All Task Dialog
dynamic deleteAllTask(BuildContext context) {
return PanaraConfirmDialog.show(
context,
title: MyString.areYouSure,
message:
"Do You really want to delete all tasks? You will no be able to undo this action!",
confirmButtonText: "Yes",
cancelButtonText: "No",
onTapCancel: () {
Navigator.pop(context);
},
onTapConfirm: () {
BaseWidget.of(context).dataStore.box.clear();
Navigator.pop(context);
},
panaraDialogType: PanaraDialogType.error,
barrierDismissible: false,
);
}
/// lottie asset address
String lottieURL = 'assets/lottie/1.json';
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/theme/custom_text_style.dart | import 'package:flutter/material.dart';
import '../core/app_export.dart';
/// A collection of pre-defined text styles for customizing text appearance,
/// categorized by different font families and weights.
/// Additionally, this class includes extensions on [TextStyle] to easily apply specific font families to text.
class CustomTextStyles {
// Body text style
static get bodySmallBlack900 => theme.textTheme.bodySmall!.copyWith(
color: appTheme.black900.withOpacity(0.4),
);
static get bodySmallOnPrimary => theme.textTheme.bodySmall!.copyWith(
color: theme.colorScheme.onPrimary.withOpacity(0.6),
fontSize: 10.fSize,
);
static get bodySmallOnPrimary_1 => theme.textTheme.bodySmall!.copyWith(
color: theme.colorScheme.onPrimary,
);
// Label text style
static get labelLargeDeeppurpleA400 => theme.textTheme.labelLarge!.copyWith(
color: appTheme.deepPurpleA400,
);
static get labelLargeOnPrimary => theme.textTheme.labelLarge!.copyWith(
color: theme.colorScheme.onPrimary.withOpacity(0.6),
);
static get labelLargeOnPrimary_1 => theme.textTheme.labelLarge!.copyWith(
color: theme.colorScheme.onPrimary.withOpacity(0.6),
);
static get labelLargeSecondaryContainer =>
theme.textTheme.labelLarge!.copyWith(
color: theme.colorScheme.secondaryContainer.withOpacity(1),
);
static get labelLargeSecondaryContainerSemiBold =>
theme.textTheme.labelLarge!.copyWith(
color: theme.colorScheme.secondaryContainer.withOpacity(1),
fontWeight: FontWeight.w600,
);
static get labelLargeSecondaryContainer_1 =>
theme.textTheme.labelLarge!.copyWith(
color: theme.colorScheme.secondaryContainer.withOpacity(0.64),
);
// Title text style
static get titleMediumBlack900 => theme.textTheme.titleMedium!.copyWith(
color: appTheme.black900.withOpacity(0.6),
fontSize: 16.fSize,
);
static get titleMediumDeeppurpleA400 => theme.textTheme.titleMedium!.copyWith(
color: appTheme.deepPurpleA400,
fontSize: 16.fSize,
fontWeight: FontWeight.w500,
);
static get titleMediumPrimary => theme.textTheme.titleMedium!.copyWith(
color: theme.colorScheme.primary,
fontSize: 16.fSize,
fontWeight: FontWeight.w500,
);
static get titleMediumRedA4000c => theme.textTheme.titleMedium!.copyWith(
color: appTheme.redA4000c.withOpacity(0.56),
fontSize: 16.fSize,
);
static get titleMediumSecondaryContainer =>
theme.textTheme.titleMedium!.copyWith(
color: theme.colorScheme.secondaryContainer.withOpacity(1),
fontSize: 16.fSize,
fontWeight: FontWeight.w500,
);
static get titleMediumWhiteA700 => theme.textTheme.titleMedium!.copyWith(
color: appTheme.whiteA700,
fontSize: 16.fSize,
);
static get titleSmallBlack900 => theme.textTheme.titleSmall!.copyWith(
color: appTheme.black900.withOpacity(0.4),
);
static get titleSmallOnPrimary => theme.textTheme.titleSmall!.copyWith(
color: theme.colorScheme.onPrimary.withOpacity(0.6),
);
static get titleSmallOnPrimary_1 => theme.textTheme.titleSmall!.copyWith(
color: theme.colorScheme.onPrimary,
);
static get titleSmallSecondaryContainer =>
theme.textTheme.titleSmall!.copyWith(
color: theme.colorScheme.secondaryContainer.withOpacity(1),
);
static get titleSmallWhiteA700 => theme.textTheme.titleSmall!.copyWith(
color: appTheme.whiteA700,
);
}
extension on TextStyle {
TextStyle get poppins {
return copyWith(
fontFamily: 'Poppins',
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/theme/custom_button_style.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
/// A class that offers pre-defined button styles for customizing button appearance.
class CustomButtonStyles {
// Filled button style
static ButtonStyle get fillDeepOrange => ElevatedButton.styleFrom(
backgroundColor: appTheme.deepOrange50,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(14.h),
),
);
static ButtonStyle get fillGray => ElevatedButton.styleFrom(
backgroundColor: appTheme.gray5003,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(14.h),
),
);
// text button style
static ButtonStyle get none => ButtonStyle(
backgroundColor: MaterialStateProperty.all<Color>(Colors.transparent),
elevation: MaterialStateProperty.all<double>(0),
);
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/theme/colors.dart | import 'package:flutter/material.dart';
class MyColors {
static const Color primaryColor = Color(0xff4568dc);
static const List<Color> primaryGradientColor = [
Color(0xff4568dc),
// Color(0xffb06ab3),
Colors.white
];
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/theme/app_style.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
class AppStyle {
static TextStyle txtGilroySemiBold24 = TextStyle(
color: Colors.white70,
fontSize: getFontSize(
22,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroySemiBold44 = TextStyle(
color: ColorConstant.blueGray900,
fontSize: getFontSize(
44,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroySemiBold20 = TextStyle(
color: ColorConstant.blueGray900,
fontSize: getFontSize(
20,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroyMedium14Green600 = TextStyle(
color: ColorConstant.green600,
fontSize: getFontSize(
14,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtGilroySemiBold16WhiteA700 = TextStyle(
color: ColorConstant.whiteA700,
fontSize: getFontSize(
16,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroySemiBold16Gray90001 = TextStyle(
color: ColorConstant.gray90001,
fontSize: getFontSize(
16,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroyMedium14Amber700 = TextStyle(
color: ColorConstant.amber700,
fontSize: getFontSize(
14,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtPoppinsRegular12 = TextStyle(
color: ColorConstant.whiteA700,
fontSize: getFontSize(
12,
),
fontFamily: 'Poppins',
fontWeight: FontWeight.w400,
);
static TextStyle txtGilroyMedium16Bluegray400 = TextStyle(
color: ColorConstant.blueGray400,
fontSize: getFontSize(
16,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtGilroyMedium12Gray900 = TextStyle(
color: ColorConstant.gray900,
fontSize: getFontSize(
12,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtGilroyMedium12Bluegray400 = TextStyle(
color: ColorConstant.blueGray400,
fontSize: getFontSize(
12,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtRobotoRegular20 = TextStyle(
color: ColorConstant.black900,
fontSize: getFontSize(
20,
),
fontFamily: 'Roboto',
fontWeight: FontWeight.w400,
);
static TextStyle txtGilroySemiBold12 = TextStyle(
color: ColorConstant.blueGray400,
fontSize: getFontSize(
12,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroySemiBold18Black900 = TextStyle(
color: ColorConstant.black900,
fontSize: getFontSize(
18,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroyMedium14 = TextStyle(
color: ColorConstant.blueGray400,
fontSize: getFontSize(
14,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtGilroyMedium12 = TextStyle(
color: ColorConstant.whiteA700,
fontSize: getFontSize(
12,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtGilroySemiBold18 = TextStyle(
color: ColorConstant.blueGray900,
fontSize: getFontSize(
18,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroyMedium18 = TextStyle(
color: ColorConstant.blueGray900,
fontSize: getFontSize(
18,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtGilroySemiBold16 = TextStyle(
color: ColorConstant.blueGray900,
fontSize: getFontSize(
16,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroySemiBold12WhiteA700 = TextStyle(
color: ColorConstant.whiteA700,
fontSize: getFontSize(
12,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroyMedium16 = TextStyle(
color: ColorConstant.blueA700,
fontSize: getFontSize(
18,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtGilroySemiBold14 = TextStyle(
color: ColorConstant.blueGray400,
fontSize: getFontSize(
14,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtRobotoRegular16 = TextStyle(
color: ColorConstant.blueGray40001,
fontSize: getFontSize(
16,
),
fontFamily: 'Roboto',
fontWeight: FontWeight.w400,
);
static TextStyle txtGilroyMedium14Red700 = TextStyle(
color: ColorConstant.red700,
fontSize: getFontSize(
14,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w500,
);
static TextStyle txtGilroySemiBold16BlueA700 = TextStyle(
color: ColorConstant.blueA700,
fontSize: getFontSize(
16,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
static TextStyle txtGilroySemiBold18Gray90002 = TextStyle(
color: ColorConstant.gray90002,
fontSize: getFontSize(
18,
),
fontFamily: 'Gilroy',
fontWeight: FontWeight.w600,
);
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib | mirrored_repositories/Evyan-Todo-App/lib/theme/strings.dart | class MyString {
static const String mainTitle = "My Tasks";
static const String deletedTask = "This task was deleted";
static const String doneAllTask = "You Have Done All Tasks!👌";
static const String addNewTask = "Add New ";
static const String updateCurrentTask = "Update ";
static const String taskStrnig = "Task";
static const String titleOfTitleTextField = "What are you planing😇?";
static const String addNote = 'Add Note';
static const String timeString = "Time";
static const String dateString = "Date";
static const String deleteTask = "Delete Task";
static const String addTaskString = "Add Task";
static const String updateTaskString = "Update Task";
static const String oopsMsg = "Oops!";
static const String areYouSure = "Are You Sure?";
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation | mirrored_repositories/Evyan-Todo-App/lib/presentation/wish_list_screen/wish_list_screen.dart | import 'controller/wish_list_controller.dart';
import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/widgets/custom_elevated_button.dart';
import 'package:todo_app/widgets/custom_icon_button.dart';
import 'package:todo_app/widgets/custom_text_form_field.dart';
class WishListScreen extends GetWidget<WishListController> {
const WishListScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
resizeToAvoidBottomInset: false,
body: Container(
width: double.maxFinite,
padding: EdgeInsets.symmetric(horizontal: 32.h, vertical: 43.v),
child: Column(children: [
CustomIconButton(
height: 24.adaptSize,
width: 24.adaptSize,
padding: EdgeInsets.all(6.h),
alignment: Alignment.centerLeft,
onTap: () {
onTapBtnArrowLeft();
},
child: CustomImageView(
imagePath: ImageConstant.imgArrowLeft)),
SizedBox(height: 75.v),
_buildPageHeader(),
SizedBox(height: 85.v),
_buildDate(
date: "lbl_task_todo".tr,
calendar: ImageConstant.imgCalendarOnprimarycontainer,
ttMmYy: "msg_create_action_mobile".tr),
SizedBox(height: 18.v),
_buildDate(
date: "lbl_date".tr,
calendar: ImageConstant.imgCalendar,
ttMmYy: "lbl_tt_mm_yy".tr),
SizedBox(height: 18.v),
_buildAttachments(),
SizedBox(height: 50.v),
CustomElevatedButton(
text: "msg_make_a_wish_list".tr,
buttonTextStyle: CustomTextStyles.titleMediumWhiteA700,
onPressed: () {
onTapMakeAWishList();
}),
SizedBox(height: 5.v)
]))));
}
/// Section Widget
Widget _buildPageHeader() {
return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
Text("msg_make_a_wish_list".tr, style: theme.textTheme.headlineMedium),
SizedBox(height: 11.v),
Text("msg_make_your_job_easier".tr, style: theme.textTheme.labelLarge)
]);
}
/// Section Widget
Widget _buildAttachments() {
return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
Text("lbl_attachments".tr, style: CustomTextStyles.labelLargeOnPrimary_1),
SizedBox(height: 12.v),
CustomTextFormField(
controller: controller.filesizeController,
hintText: "lbl_maximum_10_mb".tr,
hintStyle: CustomTextStyles.titleSmallOnPrimary,
textInputAction: TextInputAction.done,
prefix: Container(
margin: EdgeInsets.symmetric(horizontal: 18.h, vertical: 17.v),
child: CustomImageView(
imagePath: ImageConstant.imgClose,
height: 23.v,
width: 24.h)),
prefixConstraints: BoxConstraints(maxHeight: 58.v),
contentPadding: EdgeInsets.only(top: 18.v, right: 30.h, bottom: 18.v),
borderDecoration: TextFormFieldStyleHelper.outlineOnPrimaryTL14)
]);
}
/// Common widget
Widget _buildDate({
required String date,
required String calendar,
required String ttMmYy,
}) {
return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
Text(date,
style: CustomTextStyles.labelLargeOnPrimary_1
.copyWith(color: theme.colorScheme.onPrimary.withOpacity(0.6))),
SizedBox(height: 12.v),
Container(
padding: EdgeInsets.symmetric(horizontal: 17.h, vertical: 16.v),
decoration: AppDecoration.outlineOnPrimary
.copyWith(borderRadius: BorderRadiusStyle.roundedBorder14),
child: Row(children: [
CustomImageView(imagePath: calendar, height: 23.v, width: 24.h),
Padding(
padding: EdgeInsets.only(left: 18.h),
child: Text(ttMmYy,
style: CustomTextStyles.titleSmallOnPrimary.copyWith(
color: theme.colorScheme.onPrimary.withOpacity(0.6))))
]))
]);
}
/// Navigates to the previous screen.
onTapBtnArrowLeft() {
Get.back();
}
/// Navigates to the signupScreen when the action is triggered.
onTapMakeAWishList() {
Get.toNamed(
AppRoutes.signupScreen,
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/wish_list_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/wish_list_screen/models/wish_list_model.dart | /// This class defines the variables used in the [wish_list_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class WishListModel {}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/wish_list_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/wish_list_screen/binding/wish_list_binding.dart | import '../controller/wish_list_controller.dart';
import 'package:get/get.dart';
/// A binding class for the WishListScreen.
///
/// This class ensures that the WishListController is created when the
/// WishListScreen is first loaded.
class WishListBinding extends Bindings {
@override
void dependencies() {
Get.lazyPut(() => WishListController());
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/wish_list_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/wish_list_screen/controller/wish_list_controller.dart | import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/presentation/wish_list_screen/models/wish_list_model.dart';
import 'package:flutter/material.dart';
/// A controller class for the WishListScreen.
///
/// This class manages the state of the WishListScreen, including the
/// current wishListModelObj
class WishListController extends GetxController {
TextEditingController filesizeController = TextEditingController();
Rx<WishListModel> wishListModelObj = WishListModel().obs;
@override
void onClose() {
super.onClose();
filesizeController.dispose();
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation | mirrored_repositories/Evyan-Todo-App/lib/presentation/settings_screen/settings_screen.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/widgets/custom_icon_button.dart';
import 'package:todo_app/widgets/custom_outlined_button.dart';
import 'controller/settings_controller.dart';
class SettingsScreen extends GetWidget<SettingsController> {
const SettingsScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
body: Container(
width: double.maxFinite,
padding: EdgeInsets.symmetric(horizontal: 32.h, vertical: 43.v),
child: Column(children: [
CustomIconButton(
height: 24.adaptSize,
width: 24.adaptSize,
padding: EdgeInsets.all(6.h),
alignment: Alignment.centerLeft,
onTap: () {
onTapBtnArrowLeft();
},
child: CustomImageView(
imagePath: ImageConstant.imgArrowLeft)),
SizedBox(height: 90.v),
_buildSettingOption(),
SizedBox(height: 34.v),
GestureDetector(
onTap: () {
Get.toNamed(AppRoutes.personalityScreen);
},
child: _buildLanguage(language: "lbl_personality".tr)),
SizedBox(height: 14.v),
GestureDetector(
onTap: () {
Get.toNamed(AppRoutes.languageScreen);
},
child: _buildLanguage(language: "lbl_language".tr)),
SizedBox(height: 14.v),
GestureDetector(
onTap: () {
Get.toNamed(AppRoutes.termsandconditionsScreen);
},
child: _buildLanguage(
language: "msg_terms_and_conditions".tr)),
Spacer(),
SizedBox(height: 63.v),
CustomOutlinedButton(
text: "lbl_log_out".tr,
)
]))));
}
/// Section Widget
Widget _buildSettingOption() {
return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
Text("lbl_settings".tr, style: theme.textTheme.headlineMedium),
SizedBox(height: 9.v),
Text("msg_your_settings_so".tr, style: theme.textTheme.labelLarge)
]);
}
/// Common widget
Widget _buildLanguage({required String language}) {
return Container(
padding: EdgeInsets.symmetric(horizontal: 28.h, vertical: 19.v),
decoration: AppDecoration.outlineBlack
.copyWith(borderRadius: BorderRadiusStyle.roundedBorder14),
child: Row(mainAxisAlignment: MainAxisAlignment.end, children: [
Padding(
padding: EdgeInsets.only(top: 2.v),
child: Text(language,
style: CustomTextStyles.labelLargeOnPrimary.copyWith(
color: theme.colorScheme.onPrimary.withOpacity(0.6)))),
CustomImageView(
imagePath: ImageConstant.imgArrowRight,
height: 6.v,
width: 3.h,
margin: EdgeInsets.only(left: 93.h, top: 7.v, bottom: 7.v))
]));
}
/// Navigates to the previous screen.
onTapBtnArrowLeft() {
Get.back();
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/settings_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/settings_screen/models/settings_model.dart | /// This class defines the variables used in the [settings_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class SettingsModel {}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/settings_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/settings_screen/binding/settings_binding.dart | import '../controller/settings_controller.dart';
import 'package:get/get.dart';
/// A binding class for the SettingsScreen.
///
/// This class ensures that the SettingsController is created when the
/// SettingsScreen is first loaded.
class SettingsBinding extends Bindings {
@override
void dependencies() {
Get.lazyPut(() => SettingsController());
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/settings_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/settings_screen/controller/settings_controller.dart | import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/presentation/settings_screen/models/settings_model.dart';
/// A controller class for the SettingsScreen.
///
/// This class manages the state of the SettingsScreen, including the
/// current settingsModelObj
class SettingsController extends GetxController {
Rx<SettingsModel> settingsModelObj = SettingsModel().obs;
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation | mirrored_repositories/Evyan-Todo-App/lib/presentation/signup_screen/signup_screen.dart | import 'package:flutter/material.dart';
import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/core/utils/validation_functions.dart';
import 'package:todo_app/widgets/app_bar/appbar_leading_iconbutton.dart';
import 'package:todo_app/widgets/app_bar/appbar_title.dart';
import 'package:todo_app/widgets/app_bar/custom_app_bar.dart';
import 'package:todo_app/widgets/custom_elevated_button.dart';
import 'package:todo_app/widgets/custom_text_form_field.dart';
import 'controller/signup_controller.dart';
// ignore_for_file: must_be_immutable
class SignupScreen extends GetWidget<SignupController> {
SignupScreen({Key? key}) : super(key: key);
GlobalKey<FormState> _formKey = GlobalKey<FormState>();
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () {
Get.focusScope!.unfocus();
},
child: SafeArea(
child: Scaffold(
resizeToAvoidBottomInset: false,
backgroundColor: appTheme.gray5001,
appBar: _buildAppBar(),
body: Form(
key: _formKey,
child: SingleChildScrollView(
padding: EdgeInsets.only(top: 27.v),
child: Padding(
padding: EdgeInsets.only(
left: 28.h, right: 32.h, bottom: 5.v),
child: Column(children: [
_buildPageHeader(),
SizedBox(height: 12.v),
CustomImageView(
imagePath: ImageConstant.imgLogoGray5001120x114,
height: 120.v,
width: 114.h),
SizedBox(height: 46.v),
_buildFirstName(),
SizedBox(height: 24.v),
_buildLastName(),
SizedBox(height: 24.v),
_buildEmail(),
SizedBox(height: 24.v),
_buildPassword(),
SizedBox(height: 22.v),
Align(
alignment: Alignment.centerLeft,
child: Container(
width: 248.h,
margin: EdgeInsets.only(right: 65.h),
child: Text(
"I accept Your Terms & Conditions.".tr,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: theme.textTheme.labelLarge!
.copyWith(height: 1.67)))),
SizedBox(height: 27.v),
_buildNext(),
SizedBox(height: 29.v),
GestureDetector(
onTap: () {
onTapAlreadyHaveAn();
},
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text("msg_already_have_an".tr,
style: theme.textTheme.labelLarge),
Padding(
padding: EdgeInsets.only(left: 8.h),
child: Text("lbl_login".tr,
style: CustomTextStyles
.labelLargeSecondaryContainerSemiBold))
])),
SizedBox(height: 46.v),
])))))),
);
}
/// Section Widget
PreferredSizeWidget _buildAppBar() {
return CustomAppBar(
leadingWidth: 52.h,
leading: AppbarLeadingIconbutton(
imagePath: ImageConstant.imgArrowLeft,
margin: EdgeInsets.only(left: 28.h, top: 14.v, bottom: 17.v),
onTap: () {
onTapArrowLeft();
}),
actions: [
AppbarTitle(
text: "lbl_sign_up".tr,
margin: EdgeInsets.symmetric(horizontal: 45.h, vertical: 14.v))
]);
}
/// Section Widget
Widget _buildPageHeader() {
return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
SizedBox(
width: 218.h,
child: Text("Sign Up Today and Transform Your Tasks !!!...".tr,
maxLines: 3,
overflow: TextOverflow.ellipsis,
style: theme.textTheme.displaySmall!.copyWith(height: 1.18))),
Container(
width: 245.h,
margin: EdgeInsets.only(right: 69.h),
child: Text("msg_our_community_is2".tr,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: CustomTextStyles.bodySmallBlack900.copyWith(height: 1.67)))
]);
}
/// Section Widget
Widget _buildFirstName() {
return CustomTextFormField(
controller: controller.firstNameController,
hintText: "lbl_first_name".tr,
validator: (value) {
if (!isText(value)) {
return "err_msg_please_enter_valid_text".tr;
}
return null;
});
}
/// Section Widget
Widget _buildLastName() {
return CustomTextFormField(
controller: controller.lastNameController,
hintText: "lbl_last_name".tr,
validator: (value) {
if (!isText(value)) {
return "err_msg_please_enter_valid_text".tr;
}
return null;
});
}
/// Section Widget
Widget _buildEmail() {
return CustomTextFormField(
controller: controller.emailController,
hintText: "lbl_e_mail".tr,
textInputType: TextInputType.emailAddress,
validator: (value) {
if (value == null || (!isValidEmail(value, isRequired: true))) {
return "err_msg_please_enter_valid_email".tr;
}
return null;
});
}
/// Section Widget
Widget _buildPassword() {
return CustomTextFormField(
controller: controller.passwordController,
hintText: "lbl_password".tr,
textInputAction: TextInputAction.done,
textInputType: TextInputType.visiblePassword,
validator: (value) {
if (value == null || (!isValidPassword(value, isRequired: true))) {
return "err_msg_please_enter_valid_password".tr;
}
return null;
},
obscureText: true);
}
/// Section Widget
Widget _buildNext() {
return CustomElevatedButton(
text: "lbl_next".tr,
onPressed: () {
Get.toNamed(AppRoutes.homeScreen);
},
);
}
/// Navigates to the previous screen.
onTapArrowLeft() {
Get.back();
}
/// Navigates to the loginScreen when the action is triggered.
onTapAlreadyHaveAn() {
Get.toNamed(
AppRoutes.loginScreen,
);
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/signup_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/signup_screen/models/signup_model.dart | /// This class defines the variables used in the [signup_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class SignupModel {}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/signup_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/signup_screen/binding/signup_binding.dart | import '../controller/signup_controller.dart';
import 'package:get/get.dart';
/// A binding class for the SignupScreen.
///
/// This class ensures that the SignupController is created when the
/// SignupScreen is first loaded.
class SignupBinding extends Bindings {
@override
void dependencies() {
Get.lazyPut(() => SignupController());
}
}
| 0 |
mirrored_repositories/Evyan-Todo-App/lib/presentation/signup_screen | mirrored_repositories/Evyan-Todo-App/lib/presentation/signup_screen/controller/signup_controller.dart | import 'package:todo_app/core/app_export.dart';
import 'package:todo_app/presentation/signup_screen/models/signup_model.dart';
import 'package:flutter/material.dart';
/// A controller class for the SignupScreen.
///
/// This class manages the state of the SignupScreen, including the
/// current signupModelObj
class SignupController extends GetxController {
TextEditingController firstNameController = TextEditingController();
TextEditingController lastNameController = TextEditingController();
TextEditingController emailController = TextEditingController();
TextEditingController passwordController = TextEditingController();
Rx<SignupModel> signupModelObj = SignupModel().obs;
@override
void onClose() {
super.onClose();
firstNameController.dispose();
lastNameController.dispose();
emailController.dispose();
passwordController.dispose();
}
}
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.