feat: login page ui done
This commit is contained in:
@@ -73,9 +73,8 @@ class _OnboardingPageState extends State<OnboardingPage> {
|
||||
onPressed: () {
|
||||
if (currentIndex < 1) {
|
||||
onPressed();
|
||||
}
|
||||
if (currentIndex == 1) {
|
||||
log("Navigate to login");
|
||||
} else {
|
||||
context.go(Routes.login);
|
||||
}
|
||||
},
|
||||
),
|
||||
|
||||
@@ -31,15 +31,11 @@ class SplashPage extends StatelessWidget {
|
||||
Center(child: SvgPicture.asset(AppIcons.icLogo)),
|
||||
ShaderMask(
|
||||
shaderCallback: (bounds) =>
|
||||
const LinearGradient(
|
||||
begin: AlignmentGeometry.bottomCenter,
|
||||
end: AlignmentGeometry.topCenter,
|
||||
colors: [AppColors.cFF6F00, AppColors.cFFAB40],
|
||||
).createShader(
|
||||
AppUtils.kGradient.createShader(
|
||||
Rect.fromLTWH(0, 0, bounds.width, bounds.height),
|
||||
),
|
||||
child: Text(
|
||||
"Felix Eats",
|
||||
AppLocaleKeys.appName,
|
||||
style: context.appThemeTextStyles.size64Black,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user