Building with sound null safety
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.7.3+1/lib/fwfh_text_style.dart:11:7: Error: The non-abstract class 'FwfhTextStyle' is missing implementations for these members:
- TextStyle.fontVariations
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class FwfhTextStyle extends _TextStyleProxy {
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/painting/text_style.dart:789:33: Context: 'TextStyle.fontVariations' is defined here.
final List<ui.FontVariation>? fontVariations;
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.7.3+1/lib/fwfh_text_style.dart:43:13: Error: The method 'FwfhTextStyle.apply' has fewer named arguments than those of overridden method 'TextStyle.apply'.
TextStyle apply({
^
/C:/src/flutter/packages/flutter/lib/src/painting/text_style.dart:911:13: Context: This is the overridden method ('apply').
TextStyle apply({
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.7.3+1/lib/fwfh_text_style.dart:43:13: Error: The method 'FwfhTextStyle.apply' doesn't have the named parameter 'fontVariations' of overridden method 'TextStyle.apply'.
TextStyle apply({
^
/C:/src/flutter/packages/flutter/lib/src/painting/text_style.dart:911:13: Context: This is the overridden method ('apply').
TextStyle apply({
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.7.3+1/lib/fwfh_text_style.dart:103:13: Error: The method 'FwfhTextStyle.copyWith' has fewer named arguments than those of overridden method 'TextStyle.copyWith'.
TextStyle copyWith({
^
/C:/src/flutter/packages/flutter/lib/src/painting/text_style.dart:814:13: Context: This is the overridden method ('copyWith').
TextStyle copyWith({
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/fwfh_text_style-2.7.3+1/lib/fwfh_text_style.dart:103:13: Error: The method 'FwfhTextStyle.copyWith' doesn't have the named parameter 'fontVariations' of overridden method 'TextStyle.copyWith'.
TextStyle copyWith({
^
/C:/src/flutter/packages/flutter/lib/src/painting/text_style.dart:814:13: Context: This is the overridden method ('copyWith').
TextStyle copyWith({
^
FAILURE: Build failed with an exception.
* Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> 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 1m 21s
Running Gradle task 'assembleRelease'... 82.9s
Gradle task assembleRelease failed with exit code 1