Error is
The method 'Style.textStyle' has fewer positional arguments than those of overridden method 'StyleHook.textStyle'. TextStyle textStyle(Color color)
Here is the problem @override TextStyle textStyle(Color color) { return TextStyle(color: color);
class Style extends StyleHook {
@override
double get activeIconSize => 28;
@override
double get activeIconMargin => 10;
@override
double get iconSize => 20;
@override
TextStyle textStyle(Color color) {
return TextStyle(color: color);
}
}
