TDInputDialog constructor
const
TDInputDialog({
- Key? key,
- required TextEditingController textEditingController,
- Color backgroundColor = Colors.white,
- double radius = 12.0,
- String? title,
- Color titleColor = const Color(0xE6000000),
- String? content,
- String? hintText = '',
- Color? contentColor,
- TDDialogButtonOptions? leftBtn,
- TDDialogButtonOptions? rightBtn,
- 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);