feat: navigation setup.

This commit is contained in:
Aunali321
2022-07-31 13:30:11 +05:30
parent fcc268c9da
commit 6cbc122714
9 changed files with 333 additions and 17 deletions

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({Key? key}) : super(key: key);
@ -6,11 +7,55 @@ class HomeScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('ReVanced Manager'),
),
body: const Center(
child: Text('Home Screen'),
body: SafeArea(
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 0.0,
horizontal: 24.0,
),
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
"ReVanced Manager",
style: GoogleFonts.manrope(
fontSize: 24,
fontWeight: FontWeight.w500,
),
),
IconButton(
onPressed: () {},
icon: const Icon(
Icons.more_vert,
),
)
],
),
const SizedBox(height: 12),
Align(
alignment: Alignment.topLeft,
child: Text(
"Dashboard",
style: GoogleFonts.lato(
fontSize: 32,
),
),
),
const SizedBox(height: 12),
Align(
alignment: Alignment.topLeft,
child: Text(
"ReVanced Updates",
style: GoogleFonts.lato(
fontSize: 22,
),
),
),
],
),
),
),
);
}

View File

@ -0,0 +1,12 @@
import 'package:flutter/material.dart';
import 'package:flutter/src/foundation/key.dart';
import 'package:flutter/src/widgets/framework.dart';
class PatcherScreen extends StatelessWidget {
const PatcherScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold();
}
}