Add register and sign up with supertokens
This commit is contained in:
parent
b2d5369387
commit
5dd6a70329
24 changed files with 846 additions and 228 deletions
|
|
@ -7,6 +7,7 @@ class MyTheme {
|
|||
late int _succColor;
|
||||
late int _mesColor;
|
||||
late String mode;
|
||||
late Image loading;
|
||||
|
||||
// Options:-
|
||||
// f3f9d2 = Cream
|
||||
|
|
@ -101,6 +102,21 @@ class MyTheme {
|
|||
return Color(_succColor);
|
||||
}
|
||||
|
||||
Image loadingImage() {
|
||||
if (mode == "Dark") {
|
||||
loading = Image.asset(
|
||||
'images/Logo-loading.gif',
|
||||
width: 100,
|
||||
);
|
||||
} else {
|
||||
loading = Image.asset(
|
||||
'images/Logo-loading.gif',
|
||||
width: 100,
|
||||
);
|
||||
}
|
||||
return loading;
|
||||
}
|
||||
|
||||
Color primaryColor() {
|
||||
if (mode == "Dark") {
|
||||
_mainColor = 0XFF3A4454;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue