OwnKeyBoard constructor
OwnKeyBoard({
- Key? key,
- required TextEditingController controller,
- Color? backgroundColor = Colors.white10,
- EdgeInsets? padding = const EdgeInsets.all(5),
- Color? iconBackspaceColor = Colors.red,
- Color? iconDoneColor = Colors.green,
- Color? splashColor = Colors.black26,
- VoidCallback? doneClicked,
- VoidCallback? clearClicked,
- double iconSize = 25,
- TextStyle textStyle = const TextStyle(),
Implementation
OwnKeyBoard(
{Key? key,
required this.controller,
this.backgroundColor = Colors.white10,
this.padding = const EdgeInsets.all(5),
this.iconBackspaceColor = Colors.red,
this.iconDoneColor = Colors.green,
this.splashColor = Colors.black26,
this.doneClicked,
this.clearClicked,
this.iconSize = 25,
this.textStyle = const TextStyle()})
: super(key: key);