TDInputDialog constructor

const TDInputDialog({
  1. Key? key,
  2. required TextEditingController textEditingController,
  3. Color backgroundColor = Colors.white,
  4. double radius = 12.0,
  5. String? title,
  6. Color titleColor = const Color(0xE6000000),
  7. String? content,
  8. String? hintText = '',
  9. Color? contentColor,
  10. TDDialogButtonOptions? leftBtn,
  11. TDDialogButtonOptions? rightBtn,
  12. bool? showCloseButton,
})

Implementation

const TDInputDialog({
  Key? key,
  required this.textEditingController,
  this.backgroundColor = Colors.white,
  this.radius = 12.0,
  this.title,
  this.titleColor = const Color(0xE6000000),
  this.content,
  this.hintText = '',
  this.contentColor,
  this.leftBtn,
  this.rightBtn,
  this.showCloseButton,
})  : assert((title != null || content != null)),
      super(key: key);