BlockInputStyle constructor

const BlockInputStyle({
  1. Color? backgroundColor = Colors.white,
  2. EdgeInsets? padding = const EdgeInsets.all(10),
  3. EdgeInsets? margin = const EdgeInsets.all(5),
  4. bool? isExtended = false,
  5. InputBorder? border = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(8)), borderSide: BorderSide(color: Colors.black, width: 2.0)),
  6. InputBorder? focusedBorder = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(8)), borderSide: BorderSide(color: Colors.black, width: 2.0)),
  7. TextStyle? textStyle = const TextStyle(fontSize: 19),
  8. double? width = 42,
  9. 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,
});