showConfirmationDialog doesn't apply AlertDialogAction.textStyle
JCKodel opened this issue · 3 comments
While showing a showConfirmationDialog
and providing some AlertDialogAction
to actions
property, the textStyle
is not applied (in Android or iOS styles).
Tried to copy textTheme from current theme (Theme.of(context)
), tried TextStyle(fontSize: 8, color: Colors.green)
, nothing works.
For Android, the options are always black/white and bold (my intent was to remove the bold)
It is not related to this issue.
It follows your theme, and you can also change like this:
adaptive_dialog/example/lib/pages/alert_page.dart
Lines 127 to 140 in 1b055f4
If after making those adjustments you still cannot achieve what you intend, I recommend that you use the following API etc. directly without this package:
showCupertinoDialog function - cupertino library - Dart API