// builder: (context, widget) {
// return MediaQuery(
// //Setting font does not change with system font size
// data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0),
// child: widget,
// );
// },
initialRoute: AppRoutes.BottonBar,
getPages: AppPages.list,
theme: ThemeData(
primarySwatch: Colors.blue,
fontFamily: 'HelveticaNeue',
visualDensity: VisualDensity.adaptivePlatformDensity,
),
);
}
);
}
Errors are below:
/F:/Flutter/.pub-cache/hosted/pub.dartlang.org/get-4.1.4/lib/get_navigation/src/root/get_material_app.dart:12:9: Context: Found this candidate, but the arguments don't match.
const GetMaterialApp({
^^^^^^^^^^^^^^
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'F:\Flutter\bin\flutter.bat'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Widget build(BuildContext context) { return Sizer(
// builder: (context, widget) { // return MediaQuery( // //Setting font does not change with system font size // data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), // child: widget, // ); // }, initialRoute: AppRoutes.BottonBar, getPages: AppPages.list, theme: ThemeData( primarySwatch: Colors.blue, fontFamily: 'HelveticaNeue', visualDensity: VisualDensity.adaptivePlatformDensity, ), ); } ); }
Errors are below:
/F:/Flutter/.pub-cache/hosted/pub.dartlang.org/get-4.1.4/lib/get_navigation/src/root/get_material_app.dart:12:9: Context: Found this candidate, but the arguments don't match. const GetMaterialApp({ ^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
Where: Script 'F:\Flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 52s Exception: Gradle task assembleDebug failed with exit code 1