From 24f721c186c183dfee07ec26f96df1f7f4295d75 Mon Sep 17 00:00:00 2001 From: ahvvad Date: Wed, 25 Dec 2024 23:20:38 +0200 Subject: [PATCH] Update --- android/app/src/main/AndroidManifest.xml | 3 +++ lib/pages/albums_screen.dart | 6 +----- lib/pages/home.dart | 2 ++ lib/pages/playlist_screen.dart | 6 +----- pubspec.lock | 24 ++++++++++++++++++++---- 5 files changed, 27 insertions(+), 14 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 6540bdb..fec9458 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -4,6 +4,9 @@ + + + { @override Widget build(BuildContext context) { - var controller = Get.put(PlayerController()); + Get.put(PlayerController()); return Scaffold( backgroundColor: Colors.transparent, body: AnimatedContainer( @@ -38,9 +37,6 @@ class _AlbumsScreenState extends State { ), child: Scaffold( appBar: appBar(), - // floatingActionButton: FloatBotton(controller: controller), - // floatingActionButtonLocation: - // FloatingActionButtonLocation.centerFloat, backgroundColor: Colors.transparent, body: Column( children: [ diff --git a/lib/pages/home.dart b/lib/pages/home.dart index 245581a..f887cfa 100644 --- a/lib/pages/home.dart +++ b/lib/pages/home.dart @@ -1,3 +1,5 @@ +// ignore_for_file: unnecessary_null_comparison + import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; import 'package:get/get.dart'; diff --git a/lib/pages/playlist_screen.dart b/lib/pages/playlist_screen.dart index 18916f5..4a4cc45 100644 --- a/lib/pages/playlist_screen.dart +++ b/lib/pages/playlist_screen.dart @@ -6,7 +6,6 @@ import '../consts/colors.dart'; import '../consts/text_style.dart'; import '../controllers/player_controller.dart'; import '../widgets/custom_nav_bar.dart'; -import '../widgets/float_botton.dart'; class PlaylistScreen extends StatefulWidget { const PlaylistScreen({super.key}); @@ -22,7 +21,7 @@ class _PlaylistScreenState extends State { @override Widget build(BuildContext context) { - var controller = Get.put(PlayerController()); + Get.put(PlayerController()); return Scaffold( backgroundColor: Colors.transparent, body: AnimatedContainer( @@ -38,9 +37,6 @@ class _PlaylistScreenState extends State { ), child: Scaffold( appBar: appBar(), - // floatingActionButton: FloatBotton(controller: controller), - // floatingActionButtonLocation: - // FloatingActionButtonLocation.centerFloat, backgroundColor: Colors.transparent, body: Column( children: [ diff --git a/pubspec.lock b/pubspec.lock index aacf8d7..2a4c257 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -97,6 +97,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.3" + file: + dependency: transitive + description: + name: file + sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + url: "https://pub.dev" + source: hosted + version: "6.1.4" fixnum: dependency: transitive description: @@ -464,14 +472,22 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" + process: + dependency: transitive + description: + name: process + sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" + url: "https://pub.dev" + source: hosted + version: "4.2.4" rxdart: dependency: transitive description: name: rxdart - sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962" + sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" url: "https://pub.dev" source: hosted - version: "0.28.0" + version: "0.27.7" sky_engine: dependency: transitive description: flutter @@ -665,10 +681,10 @@ packages: dependency: transitive description: name: xdg_directories - sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" + sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86 url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "0.2.0+3" xml: dependency: transitive description: