opt: video toolbar icon

Closes #329

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-01 13:31:00 +08:00
parent 6c11140f43
commit 9c4a52de87
2 changed files with 44 additions and 0 deletions

View File

@@ -1041,6 +1041,12 @@ class _VideoDetailPageState extends State<VideoDetailPage>
FontAwesomeIcons.arrowLeft,
size: 15,
color: Colors.white,
shadows: [
Shadow(
blurRadius: 1.5,
color: Colors.black,
),
],
),
onPressed: Get.back,
),
@@ -1054,6 +1060,12 @@ class _VideoDetailPageState extends State<VideoDetailPage>
FontAwesomeIcons.house,
size: 15,
color: Colors.white,
shadows: [
Shadow(
blurRadius: 1.5,
color: Colors.black,
),
],
),
onPressed: () {
Get.until((route) => route.isFirst);
@@ -1064,6 +1076,16 @@ class _VideoDetailPageState extends State<VideoDetailPage>
),
actions: [
PopupMenuButton<String>(
icon: const Icon(
Icons.more_vert,
color: Colors.white,
shadows: [
Shadow(
blurRadius: 1.5,
color: Colors.black,
),
],
),
onSelected: (String type) async {
switch (type) {
case 'later':