diff --git a/.idea/dafl_music.iml b/.idea/dafl_music.iml
index 7d01c35..98db980 100644
--- a/.idea/dafl_music.iml
+++ b/.idea/dafl_music.iml
@@ -11,6 +11,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Sources/dafl_project_flutter/lib/views/pages/main/w_profile.dart b/Sources/dafl_project_flutter/lib/views/pages/main/w_profile.dart
index a8e0184..55baa53 100644
--- a/Sources/dafl_project_flutter/lib/views/pages/main/w_profile.dart
+++ b/Sources/dafl_project_flutter/lib/views/pages/main/w_profile.dart
@@ -1,3 +1,8 @@
+
+
+import 'package:text_scroll/text_scroll.dart';
+import 'package:scroll_loop_auto_scroll/scroll_loop_auto_scroll.dart';
+
import '../../../main.dart';
import '../../../model/music.dart';
import './w_settings.dart';
@@ -259,13 +264,28 @@ class _MainPageProfilState extends State {
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
- Text(
+ snapshot.data!['name'].length > 22?
+ SizedBox(width: 220,
+ child: ScrollLoopAutoScroll(
+ delayAfterScrollInput: Duration(seconds: 1),
+ delay: Duration(seconds: 1),
+ child: Text(
+ snapshot.data!['name'],
+ style: TextStyle(fontSize: 20,
+ color: Colors.white,
+ fontWeight: FontWeight.bold),
+ ),
+ duration: Duration(seconds: 100),
+ scrollDirection: Axis.horizontal,
+ ),)
+ :Text(
snapshot.data!['name'],
- style: const TextStyle(
- fontSize: 18,
- fontWeight: FontWeight.w500,
- color: Colors.white),
+ style: TextStyle(fontSize: 20,
+ color: Colors.white,
+ fontWeight: FontWeight.bold),
),
+
+
Text(
snapshot.data!['artist'],
style: const TextStyle(
@@ -398,4 +418,5 @@ class _MainPageProfilState extends State {
),
);
}
+
}
diff --git a/Sources/dafl_project_flutter/pubspec.lock b/Sources/dafl_project_flutter/pubspec.lock
index 3d63a15..3799d6e 100644
--- a/Sources/dafl_project_flutter/pubspec.lock
+++ b/Sources/dafl_project_flutter/pubspec.lock
@@ -1,20 +1,6 @@
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
- _fe_analyzer_shared:
- dependency: transitive
- description:
- name: _fe_analyzer_shared
- url: "https://pub.dartlang.org"
- source: hosted
- version: "50.0.0"
- analyzer:
- dependency: transitive
- description:
- name: analyzer
- url: "https://pub.dartlang.org"
- source: hosted
- version: "5.2.0"
animations:
dependency: "direct main"
description:
@@ -92,13 +78,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.16.0"
- color:
- dependency: transitive
- description:
- name: color
- url: "https://pub.dartlang.org"
- source: hosted
- version: "3.0.0"
convert:
dependency: transitive
description:
@@ -127,20 +106,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
- dart_style:
- dependency: transitive
- description:
- name: dart_style
- url: "https://pub.dartlang.org"
- source: hosted
- version: "2.2.4"
- dartx:
+ fading_edge_scrollview:
dependency: transitive
description:
- name: dartx
+ name: fading_edge_scrollview
url: "https://pub.dartlang.org"
source: hosted
- version: "1.1.0"
+ version: "3.0.0"
fake_async:
dependency: transitive
description:
@@ -167,20 +139,6 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
- flutter_gen:
- dependency: "direct main"
- description:
- name: flutter_gen
- url: "https://pub.dartlang.org"
- source: hosted
- version: "5.1.0+1"
- flutter_gen_core:
- dependency: transitive
- description:
- name: flutter_gen_core
- url: "https://pub.dartlang.org"
- source: hosted
- version: "5.1.0+1"
flutter_inappwebview:
dependency: "direct main"
description:
@@ -294,13 +252,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.1"
- glob:
- dependency: transitive
- description:
- name: glob
- url: "https://pub.dartlang.org"
- source: hosted
- version: "2.1.1"
graphs:
dependency: transitive
description:
@@ -378,6 +329,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
+ marquee:
+ dependency: "direct main"
+ description:
+ name: marquee
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.2.3"
matcher:
dependency: transitive
description:
@@ -413,13 +371,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
- package_config:
- dependency: transitive
- description:
- name: package_config
- url: "https://pub.dartlang.org"
- source: hosted
- version: "2.1.0"
page_transition:
dependency: "direct main"
description:
@@ -525,13 +476,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.4"
- pub_semver:
- dependency: transitive
- description:
- name: pub_semver
- url: "https://pub.dartlang.org"
- source: hosted
- version: "2.1.3"
random_string:
dependency: "direct main"
description:
@@ -553,6 +497,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.1"
+ scroll_loop_auto_scroll:
+ dependency: "direct main"
+ description:
+ name: scroll_loop_auto_scroll
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.0.5"
sky_engine:
dependency: transitive
description: flutter
@@ -600,13 +551,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.12"
- time:
- dependency: transitive
+ text_scroll:
+ dependency: "direct main"
description:
- name: time
+ name: text_scroll
url: "https://pub.dartlang.org"
source: hosted
- version: "2.1.3"
+ version: "0.1.1"
typed_data:
dependency: transitive
description:
@@ -635,13 +586,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.6"
- watcher:
- dependency: transitive
- description:
- name: watcher
- url: "https://pub.dartlang.org"
- source: hosted
- version: "1.0.2"
win32:
dependency: transitive
description:
diff --git a/Sources/dafl_project_flutter/pubspec.yaml b/Sources/dafl_project_flutter/pubspec.yaml
index 59c174d..01eca08 100644
--- a/Sources/dafl_project_flutter/pubspec.yaml
+++ b/Sources/dafl_project_flutter/pubspec.yaml
@@ -29,7 +29,9 @@ dependencies:
home_indicator: ^2.0.2
geolocator: ^9.0.2
flutter_styled_toast: ^2.1.3
- flutter_gen: ^5.1.0+1
+ marquee: ^2.2.3
+ text_scroll: ^0.1.1
+ scroll_loop_auto_scroll: ^0.0.2
dev_dependencies:
flutter_test: