feat: update home page
This commit is contained in:
parent
8fa20d03b6
commit
3fb4170d02
@ -56,11 +56,11 @@ class ThemeApp {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
appBarTheme: AppBarTheme(
|
appBarTheme: AppBarTheme(
|
||||||
backgroundColor: AppColor.white,
|
backgroundColor: AppColor.primary,
|
||||||
elevation: 1,
|
elevation: 1,
|
||||||
titleTextStyle: AppStyle.lg.copyWith(
|
titleTextStyle: AppStyle.lg.copyWith(
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
color: AppColor.primary,
|
color: AppColor.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
@ -1,7 +1,9 @@
|
|||||||
import 'package:auto_route/auto_route.dart';
|
import 'package:auto_route/auto_route.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:line_icons/line_icons.dart';
|
||||||
|
|
||||||
import '../../../common/theme/theme.dart';
|
import '../../../common/theme/theme.dart';
|
||||||
|
import '../../components/button/button.dart';
|
||||||
import '../../components/spacer/spacer.dart';
|
import '../../components/spacer/spacer.dart';
|
||||||
import 'widgets/activity.dart';
|
import 'widgets/activity.dart';
|
||||||
import 'widgets/feature.dart';
|
import 'widgets/feature.dart';
|
||||||
@ -124,37 +126,11 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
|||||||
letterSpacing: -0.5,
|
letterSpacing: -0.5,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
backgroundColor: AppColor.white,
|
|
||||||
foregroundColor: AppColor.textPrimary,
|
foregroundColor: AppColor.textPrimary,
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
scrolledUnderElevation: 8,
|
scrolledUnderElevation: 0,
|
||||||
shadowColor: AppColor.primary.withOpacity(0.1),
|
shadowColor: AppColor.primary.withOpacity(0.1),
|
||||||
actions: [
|
actions: [ActionIconButton(onTap: () {}, icon: LineIcons.bell)],
|
||||||
Container(
|
|
||||||
margin: const EdgeInsets.only(right: 16),
|
|
||||||
padding: const EdgeInsets.all(10),
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
gradient: LinearGradient(
|
|
||||||
colors: [
|
|
||||||
AppColor.primary.withOpacity(0.1),
|
|
||||||
AppColor.primaryLight.withOpacity(0.05),
|
|
||||||
],
|
|
||||||
begin: Alignment.topLeft,
|
|
||||||
end: Alignment.bottomRight,
|
|
||||||
),
|
|
||||||
borderRadius: BorderRadius.circular(12),
|
|
||||||
border: Border.all(
|
|
||||||
color: AppColor.primary.withOpacity(0.1),
|
|
||||||
width: 1,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
child: const Icon(
|
|
||||||
Icons.notifications_none_rounded,
|
|
||||||
color: AppColor.primary,
|
|
||||||
size: 20,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user