/C:/Users/user/AppData/Local/Pub/Cache/hosted/pub.dev/easy_search_bar-2.5.0/lib/easy_search_bar.dart:377:25: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/E:/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'.
theme.textTheme.headline6!.copyWith(color: foregroundColor);
^^^^^^^^^
/C:/Users/user/AppData/Local/Pub/Cache/hosted/pub.dev/easy_search_bar-2.5.0/lib/easy_search_bar.dart:491:60: Error: The argument type 'TextStyle?' can't be assigned to the parameter type 'TextStyle' because 'TextStyle?' is nullable and 'TextStyle' isn't.
- 'TextStyle' is from 'package:flutter/src/painting/text_style.dart' ('/E:/flutter/packages/flutter/lib/src/painting/text_style.dart').
style: titleTextStyle,
^
Failed to compile application.
Errors running the repo example code.
Channel stable, 3.24.1