textField method

GameDialog textField(
  1. String label, {
  2. String? id,
  3. String? placeholder,
  4. bool multiline = false,
  5. bool password = false,
})

Implementation

GameDialog textField(
  String label, {
  String? id,
  String? placeholder,
  bool multiline = false,
  bool password = false,
}) =>
    copyWith.components.add(
      GameDialogTextFieldComponent(
        label,
        id: id,
        placeholder: placeholder,
        multiline: multiline,
        password: password,
      ),
    );