From 8d00e5f7c79732b040303cde53db3dfc7b23e1b3 Mon Sep 17 00:00:00 2001 From: Anuj-S62 Date: Thu, 14 Dec 2023 21:31:01 +0530 Subject: flutter-mediaplayer: Modified material.dart import The import of material.dart is modified to hide the Badge function, resolving a conflict between material.dart and badges.dart that caused errors during app building. Bug-AGL: SPEC-5013 Change-Id: I26bc6ba9a8469e33946d706d24ca68385d467a8d Signed-off-by: Anuj-S62 --- lib/musicPage.dart | 2 +- lib/nomusic.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/musicPage.dart b/lib/musicPage.dart index ea01a4e..38869d9 100644 --- a/lib/musicPage.dart +++ b/lib/musicPage.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'package:badges/badges.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:flutter/material.dart'; +import 'package:flutter/material.dart' hide Badge; import 'package:musicplayer/size.dart'; diff --git a/lib/nomusic.dart b/lib/nomusic.dart index 0898a6a..5280440 100644 --- a/lib/nomusic.dart +++ b/lib/nomusic.dart @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 import 'package:badges/badges.dart'; -import 'package:flutter/material.dart'; +import 'package:flutter/material.dart' hide Badge; import 'package:flutter/src/foundation/key.dart'; import 'package:flutter/src/widgets/framework.dart'; import 'package:musicplayer/size.dart'; -- cgit 1.2.3-korg