Skip to content

Commit

Permalink
Merge pull request #5 from JothishKamal/dev
Browse files Browse the repository at this point in the history
refactor: reset project for revamp
  • Loading branch information
souvik03-136 authored Aug 1, 2024
2 parents 011ab09 + a5c57cd commit a328ee5
Show file tree
Hide file tree
Showing 48 changed files with 252 additions and 298 deletions.
Binary file removed fonts/AvenirNext/AvenirNextCyr-Bold.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-BoldItalic.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-Demi.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-DemiItalic.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-Heavy.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-HeavyItalic.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-Italic.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-Light.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-LightItalic.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-Medium.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-MediumItalic.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-Regular.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-Thin.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-ThinItalic.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-UltraLight.ttf
Binary file not shown.
Binary file removed fonts/AvenirNext/AvenirNextCyr-UltraLightIt.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-Black.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-BlackItalic.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-Bold.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-BoldItalic.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-ExtraBold.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-ExtraBoldItalic.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-ExtraLight.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-ExtraLightItalic.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-Italic.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-Light.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-LightItalic.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-Medium.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-MediumItalic.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-Regular.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-SemiBold.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-SemiBoldItalic.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-Thin.ttf
Binary file not shown.
Binary file removed fonts/Poppins/Poppins-ThinItalic.ttf
Binary file not shown.
23 changes: 23 additions & 0 deletions lib/app/app.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import 'package:flutter/material.dart';

import 'package:spotify_collab_app/app/router/router.dart';
import 'package:spotify_collab_app/app/theme/theme.dart';

class CollabifyApp extends StatelessWidget {
const CollabifyApp({super.key});

@override
Widget build(BuildContext context) {
return MaterialApp.router(
title: 'Kalculate',
theme: darkTheme,
themeMode: ThemeMode.dark,
debugShowCheckedModeBanner: false,
routerConfig: router,
);
}
}

void main() {
runApp(const CollabifyApp());
}
13 changes: 13 additions & 0 deletions lib/app/router/router.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:spotify_collab_app/view/screens/u_home_screen.dart';

final router = GoRouter(
initialLocation: '/',
routes: <GoRoute>[
GoRoute(
path: '/',
pageBuilder: (context, state) => const MaterialPage(child: HomeScreen()),
),
],
);
File renamed without changes.
20 changes: 2 additions & 18 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
import 'package:spotify_collab_app/app/app.dart';
import 'package:flutter/material.dart';
import 'package:spotify_collab_app/screens/home_screen.dart';
import 'package:spotify_collab_app/screens/login_screen.dart';
import 'theme/theme.dart';

void main() {
runApp(const MyApp());
}

class MyApp extends StatelessWidget {
const MyApp({super.key});

@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Spotify Collab',
theme: darkTheme,
home: const HomeScreen(),
);
}
runApp(const CollabifyApp());
}
184 changes: 0 additions & 184 deletions lib/screens/home_screen.dart

This file was deleted.

Loading

0 comments on commit a328ee5

Please sign in to comment.