Skip to content

Commit

Permalink
chore: removed useless packages!
Browse files Browse the repository at this point in the history
  • Loading branch information
IamMuuo committed Jun 19, 2024
1 parent 658259b commit 21743f4
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 109 deletions.
1 change: 0 additions & 1 deletion assets/images/brad.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/images/cool-joe.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/images/sage.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/images/yue.svg

This file was deleted.

4 changes: 0 additions & 4 deletions lib/exports/barrel.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export 'package:flutter/material.dart';
export 'package:flutter_svg/svg.dart';
export 'package:academia/widgets/widgets.dart';
export 'package:academia/constants/common.dart';
export 'package:ionicons/ionicons.dart';
Expand All @@ -10,7 +9,6 @@ export 'package:academia/pages/home_page.dart';
export 'package:academia/pages/intro_page.dart';
export 'package:academia/themes/theme.dart';
export 'package:magnet/magnet.dart';
export 'package:loading_animation_widget/loading_animation_widget.dart';
export 'package:screenshot/screenshot.dart';
export 'package:path_provider/path_provider.dart';
export 'dart:convert';
Expand All @@ -30,11 +28,9 @@ export 'package:academia/pages/login_page.dart';
export 'package:flutter_pdfview/flutter_pdfview.dart';
export 'package:academia/widgets/info_card.dart';
export 'package:cached_network_image/cached_network_image.dart';
export 'package:academia/widgets/semester_timeline_tile.dart';
export 'package:academia/constants/tools.dart';
export 'package:academia/tools/birthday/birthday_page.dart';
export 'package:academia/widgets/tool_card.dart';
export 'package:academia/tools/time_line/time_line_page.dart';
export 'package:academia/tools/stories/notifications_story_page.dart';
export 'package:academia/controllers/controllers.dart';
export 'package:awesome_notifications/awesome_notifications.dart';
Expand Down
5 changes: 0 additions & 5 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ class Academia extends StatelessWidget {
height: 200,
),
const SizedBox(height: 22),
LoadingAnimationWidget.fourRotatingDots(
color: Theme.of(context).colorScheme.primary,
size: 40,
),
const SizedBox(height: 12),
Text(
"Let the past die, kill it if you have to ~ The Last Jedi",
style: Theme.of(context).textTheme.titleLarge,
Expand Down
9 changes: 2 additions & 7 deletions lib/pages/pdf_viewer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,11 @@ class _PdfViewerState extends State<PdfViewer> {
),
],
)
: Center(
: const Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
LoadingAnimationWidget.flickr(
leftDotColor: Theme.of(context).primaryColor,
rightDotColor: Theme.of(context).primaryColorDark,
size: 80,
),
const Text("Loading .."),
Text("Loading .."),
],
),
);
Expand Down
3 changes: 1 addition & 2 deletions lib/tools/fees/fees_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ class _FeesPageState extends State<FeesPage> {
),
const SizedBox(height: 12),
_isLoading
? LoadingAnimationWidget.hexagonDots(
color: Theme.of(context).primaryColorDark, size: 60)
? Text("Loading")
: TextButton.icon(
onPressed: () async {
setState(() {
Expand Down
Empty file.
Empty file.
Empty file removed lib/tools/time_line/time_line.dart
Empty file.
17 changes: 0 additions & 17 deletions lib/tools/time_line/time_line_page.dart

This file was deleted.

60 changes: 0 additions & 60 deletions lib/widgets/semester_timeline_tile.dart

This file was deleted.

6 changes: 1 addition & 5 deletions lib/widgets/tool_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ class _ToolCardState extends State<ToolCard> {
SizedBox(
height: 200.0,
child: _isLoading
? LoadingAnimationWidget.flickr(
leftDotColor: Theme.of(context).primaryColor,
rightDotColor: Theme.of(context).primaryColorDark,
size: 80,
)
? const Text("Loading")
: Image.asset(
widget.image,
fit: BoxFit.fitWidth,
Expand Down
5 changes: 0 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ dependencies:
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
flutter_native_splash: ^2.0.5
table_calendar: ^3.0.9
http: ^1.0.0
html: ^0.15.3
intl: ^0.18.1
Expand All @@ -44,15 +43,12 @@ dependencies:
flutter_launcher_icons: ^0.13.1
flutter_carousel_widget: ^2.0.4
webview_flutter: ^4.2.2
loading_animation_widget: ^1.2.0+4
magnet:
git:
url: https://github.com/IamMuuo/magnet
ref: master
cached_network_image: ^3.2.3
percent_indicator: ^4.2.3
timeline_tile: ^2.0.0
flutter_local_notifications: ^16.3.0
flutter_pdfview: ^1.3.2
screenshot: ^2.1.0
path_provider: ^2.1.2
Expand All @@ -70,7 +66,6 @@ dependencies:
sqflite_common_ffi: ^2.3.3
connectivity_plus: ^6.0.3
dartz: ^0.10.1
flutter_svg: ^2.0.10+1
lottie: ^3.1.2
shared_preferences: ^2.2.3

Expand Down

0 comments on commit 21743f4

Please sign in to comment.