forked from zachran-jidlo/zachranobed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactoring - change quotes and indention * Refactoring - move constants to shared directory * Refactoring - extract OutlinedInputBorder as a constant --------- Co-authored-by: Jakub Timko <[email protected]>
- Loading branch information
Showing
25 changed files
with
312 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,57 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class ZachranObedColors { | ||
static const primary = Color.fromRGBO(226, 16, 19, 1); | ||
static const primaryLight = Color.fromRGBO(250, 71, 71, 1); | ||
} | ||
|
||
class ZachranObedStrings { | ||
static const emailAddress = 'E-mailová adresa'; | ||
static const password = 'Heslo'; | ||
static const login = 'Přihlásit se'; | ||
static const logout = 'Odhlásit se'; | ||
static const forgottenPassword = 'Zapomněl/a jsem heslo'; | ||
static const rememberUser = 'Zapamatovat'; | ||
static const requiredFieldError = 'Vyplňte prosím toto pole'; | ||
static const requiredDropdownError = 'Vyberte prosím nějakou možnost'; | ||
static const overview = 'Přehled'; | ||
static const donations = 'Dary'; | ||
static const donationList = 'Seznam darů'; | ||
static const statistics = 'Statistiky'; | ||
static const menu = 'Menu'; | ||
static const change = 'Změnit'; | ||
static const youCanDonate = 'Dnes můžete darovat ještě'; | ||
static const youCantDonateAnymore = "Dnes již nemůžete darovat"; | ||
static const lastDonated = 'Naposledy darováno'; | ||
static const savedLunches = 'Zachráněno obědů'; | ||
static const borrowedBoxes = 'Zapůjčeno ReKrabiček'; | ||
static const offer = 'Nabídnout'; | ||
static const offerFood = 'Nabídnout pokrm'; | ||
static const offerWarmFood = 'Nabídnout teplý pokrm'; | ||
static const offerFoodDescription = 'Pokrm nabídnete darem charitativním organizacím, které jej předají lidem v nouzi.'; | ||
static const foodName = 'Název pokrmu'; | ||
static const allergens = 'Alergeny'; | ||
static const numberOfServings = 'Počet porcí'; | ||
static const packaging = 'Balení'; | ||
static const consumeBy = 'Spotřebujte do'; | ||
static const addAnotherFood = 'Přidat další pokrm'; | ||
static const confirmation = 'Pokrm jste \n úspěšně darovali \n \u2764 Děkujeme, že \n pomáháte.'; | ||
static const offerError = 'Nabídku se \n nepodařilo odeslat. \n \u274c Zkuste to prosím \n znovu.'; | ||
static const endOffer = 'Ukončit nabídku?'; | ||
static const cancelTheOffer = 'Zrušit změny'; | ||
static const continueTheOffer = 'Pokračovat v nabídce'; | ||
static const filter = 'Filtrovat'; | ||
|
||
static const zjLogoPath = 'assets/zj-logo.svg'; | ||
static const placeholderImagePath = 'assets/placeholder-image.png'; | ||
} | ||
import 'package:flutter/material.dart'; | ||
|
||
class ZachranObedColors { | ||
static const primary = Color.fromRGBO(226, 16, 19, 1); | ||
static const primaryLight = Color.fromRGBO(250, 71, 71, 1); | ||
} | ||
|
||
class ZachranObedStrings { | ||
static const emailAddress = 'E-mailová adresa'; | ||
static const password = 'Heslo'; | ||
static const login = 'Přihlásit se'; | ||
static const logout = 'Odhlásit se'; | ||
static const forgottenPassword = 'Zapomněl/a jsem heslo'; | ||
static const rememberUser = 'Zapamatovat'; | ||
static const requiredFieldError = 'Vyplňte prosím toto pole'; | ||
static const requiredDropdownError = 'Vyberte prosím nějakou možnost'; | ||
static const overview = 'Přehled'; | ||
static const donations = 'Dary'; | ||
static const donationList = 'Seznam darů'; | ||
static const statistics = 'Statistiky'; | ||
static const menu = 'Menu'; | ||
static const change = 'Změnit'; | ||
static const youCanDonate = 'Dnes můžete darovat ještě'; | ||
static const youCantDonateAnymore = 'Dnes již nemůžete darovat'; | ||
static const lastDonated = 'Naposledy darováno'; | ||
static const savedLunches = 'Zachráněno obědů'; | ||
static const borrowedBoxes = 'Zapůjčeno ReKrabiček'; | ||
static const offer = 'Nabídnout'; | ||
static const offerFood = 'Nabídnout pokrm'; | ||
static const offerWarmFood = 'Nabídnout teplý pokrm'; | ||
static const offerFoodDescription = | ||
'Pokrm nabídnete darem charitativním organizacím, které jej předají lidem v nouzi.'; | ||
static const foodName = 'Název pokrmu'; | ||
static const allergens = 'Alergeny'; | ||
static const numberOfServings = 'Počet porcí'; | ||
static const packaging = 'Balení'; | ||
static const consumeBy = 'Spotřebujte do'; | ||
static const addAnotherFood = 'Přidat další pokrm'; | ||
static const confirmation = | ||
'Pokrm jste \n úspěšně darovali \n \u2764 Děkujeme, že \n pomáháte.'; | ||
static const offerError = | ||
'Nabídku se \n nepodařilo odeslat. \n \u274c Zkuste to prosím \n znovu.'; | ||
static const endOffer = 'Ukončit nabídku?'; | ||
static const cancelTheOffer = 'Zrušit změny'; | ||
static const continueTheOffer = 'Pokračovat v nabídce'; | ||
static const filter = 'Filtrovat'; | ||
|
||
static const zjLogoPath = 'assets/zj-logo.svg'; | ||
static const placeholderImagePath = 'assets/placeholder-image.png'; | ||
} | ||
|
||
class WidgetStyle { | ||
static const inputBorder = OutlineInputBorder( | ||
borderSide: BorderSide(width: 2, color: Colors.black), | ||
borderRadius: BorderRadius.zero, | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.