C
/Users/lalit/AppData/Local/Pub/Cache/hosted/pub.dev/language picker 0.4.3/lib/utils/my alert dialog.dart107
46 Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/Users/lalit/Downloads/flutter_windows_3.22.0-stable/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'headline6'.
style: Theme.of(context).textTheme.headline6!,
^^^^^^^^^
/C
/Users/lalit/AppData/Local/Pub/Cache/hosted/pub.dev/language picker 0.4.3/lib/utils/my alert dialog.dart133
48 Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/Users/lalit/Downloads/flutter_windows_3.22.0-stable/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subtitle1'.
style: Theme.of(context).textTheme.subtitle1!,
^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
* Where:
Script 'C:\Users\lalit\Downloads\flutter_windows_3.22.0-stable\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1629
* What went wrong:
Execution failed for task '
appcompileFlutterBuildDebug'.
Process 'command 'C:\Users\lalit\Downloads\flutter_windows_3.22.0-stable\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 32s
Error: Gradle task assembleDebug failed with exit code 1