From 9fffb3829f23113d96c9c52945e83b69f75d74fe Mon Sep 17 00:00:00 2001 From: Piyush Suthar Date: Mon, 21 Aug 2023 20:22:40 +0530 Subject: [PATCH] removed media query --- lib/main.dart | 16 ++++++++-------- pubspec.lock | 8 ++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index b3be12e..9ff794c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -39,14 +39,14 @@ class MyApp extends StatelessWidget { return DynamicColorBuilder( builder: (ColorScheme? lightDynamic, ColorScheme? darkDynamic) { return MaterialApp( - builder: (BuildContext context, Widget? child) { - return MediaQuery( - data: MediaQuery.of(context).copyWith( - textScaleFactor: 1.0, - ), - child: child!, - ); - }, + // builder: (BuildContext context, Widget? child) { + // return MediaQuery( + // data: MediaQuery.of(context).copyWith( + // textScaleFactor: 1.0, + // ), + // child: child!, + // ); + // }, debugShowCheckedModeBanner: false, title: 'Openlib', theme: ThemeData( diff --git a/pubspec.lock b/pubspec.lock index b2b322f..539280a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -145,6 +145,14 @@ packages: url: "https://pub.dev" source: hosted version: "5.3.0" + dynamic_color: + dependency: "direct main" + description: + name: dynamic_color + sha256: de4798a7069121aee12d5895315680258415de9b00e717723a1bd73d58f0126d + url: "https://pub.dev" + source: hosted + version: "1.6.6" epub_view: dependency: "direct main" description: