mono0926/adaptive_dialog

Widget not completely supporting dark theming

lcsvcn opened this issue · 1 comments

screenshot

screenshot

screenshot

Here is the code:

showTextInputDialog(
      title: "Write a comment",
      okLabel: "Send",
      cancelLabel: "Cancel",
      context: context,
      textFields: [
        DialogTextField(
          hintText: "comment",
        ),
      ],
    ).then((value) {
      if (value != null && value.isNotEmpty) {
        post.comment = value[0];
      }
howTextInputDialog(
      title: "Write a comment",
      okLabel: "Send",
      cancelLabel: "Cancel",
      context: context,
      textFields: [
        DialogTextField(
          hintText: "comment",
        ),
      ],
    ).then((value) {
        // do stuff
});

Expected behaviour: On dark theme, the inside text would be white to contract with input black background.