Daniel-Ioannou / flutter_country_picker

A flutter package to select a country from a list of countries.
https://pub.dev/packages/country_picker
MIT License
120 stars 166 forks source link

The getter 'headline6' isn't defined for the class 'TextTheme'. #162

Open FXschwartz opened 3 months ago

FXschwartz commented 3 months ago

Getting the following error when trying to run on an iphone 14 pro max (v17.5.1)

Appears to be related to the recent deprecation of certain ThemeData and TextTheme properties?

[!] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-US)

Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/country_pickers-2.0.0/lib/utils/my_alert_dialog.dart:107:46: Error: The getter 'headline6' isn't defined for the class 'TextTheme'.