Migrate to auto_router

This commit is contained in:
2022-09-03 14:46:00 -04:00
parent 7ca45d2f70
commit 1c7f353e5f
11 changed files with 625 additions and 463 deletions

View File

@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:furman_now/src/routes/index.gr.dart';
import 'package:furman_now/src/utils/greeting.dart';
import 'package:furman_now/src/utils/theme.dart';
import 'package:furman_now/src/widgets/header.dart';
@@ -18,7 +19,6 @@ class HomeScreen extends StatelessWidget {
child: SafeArea(
child: Container(
color: Colors.grey[100],
padding: const EdgeInsets.only(bottom: kBottomNavigationBarHeight),
child: Stack(
fit: StackFit.loose,
children: [
@@ -68,7 +68,7 @@ class HomeScreen extends StatelessWidget {
children: [
const HeaderWidget(
title: "Today's Events",
link: HeaderLink(text: "View more", href: ""),
link: HeaderLink(text: "View more", href: EventsRoute()),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 20),