Add register and sign up with supertokens
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user