henryleunghk / flutter-native-text-input

Native text input for Flutter
MIT License
66 stars 50 forks source link

Custom font name on iOS, Flutter 3 support #38

Closed collinjackson closed 2 years ago

collinjackson commented 2 years ago

Originally I was using fontFamily to pass the font name, but there's some nuance to converting a font family to a font name and it's platform-specific to iOS. I'm passing fontName as a separate iOS option for now, so there's no ambiguity that the developer is expected to include weight information in the name.

Fixes https://github.com/henryleunghk/flutter-native-text-input/issues/33 Fixes https://github.com/henryleunghk/flutter-native-text-input/issues/37

Screen Shot 2022-06-16 at 12 43 00 PM
henryleunghk commented 2 years ago

Thanks for your effort. Will merge and release once conflict is resolved.

collinjackson commented 2 years ago

Conflict is resolved, PTAL