BlockInputStyle constructor
const
BlockInputStyle({
- Color? backgroundColor = Colors.white,
- EdgeInsets? padding = const EdgeInsets.all(10),
- EdgeInsets? margin = const EdgeInsets.all(5),
- bool? isExtended = false,
- InputBorder? border = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(8)), borderSide: BorderSide(color: Colors.black, width: 2.0)),
- InputBorder? focusedBorder = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(8)), borderSide: BorderSide(color: Colors.black, width: 2.0)),
- TextStyle? textStyle = const TextStyle(fontSize: 19),
- double? width = 42,
- BlockKeyboardStyle? keyboardStyle,
Implementation
const BlockInputStyle({
this.backgroundColor = Colors.white,
this.padding = const EdgeInsets.all(10),
this.margin = const EdgeInsets.all(5),
this.isExtended = false,
this.border = const OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(8)),
borderSide: BorderSide(color: Colors.black, width: 2.0),
),
this.focusedBorder = const OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(8)),
borderSide: BorderSide(color: Colors.black, width: 2.0),
),
this.textStyle = const TextStyle(
fontSize: 19
),
this.width = 42,
this.keyboardStyle,
});