-
-
Notifications
You must be signed in to change notification settings - Fork 416
Description
Launching lib\main.dart on M2006C3MG in debug mode...
Running Gradle task 'assembleDebug'...
../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_neumorphic-3.2.0/lib/src/widget/app_bar.dart:183:29: Error: The getter 'textTheme' isn't defined for the class 'AppBarTheme'.
- 'AppBarTheme' is from 'package:flutter/src/material/app_bar_theme.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/app_bar_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'textTheme'.
style: (appBarTheme.textTheme?.headline5 ??
^^^^^^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_neumorphic-3.2.0/lib/src/widget/app.dart:89:7: Error: No named parameter with the name 'accentColor'.
accentColor: theme.variantColor,
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:290:11: Context: Found this candidate, but the arguments don't match.
factory ThemeData({
^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
-
Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1297 -
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\src\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.
- Get more help at https://help.gradle.org
BUILD FAILED in 10s
Exception: Gradle task assembleDebug failed with exit code 1