block_input 0.0.4 copy "block_input: ^0.0.4" to clipboard
block_input: ^0.0.4 copied to clipboard

outdated

Simple character block input.

Block Input #

build pub package

Simple character blocked input that usually used for redeem code or validation code input.

Usage #

BlockInput(
    blockInputKeyboardType: BlockInputKeyboardType.number,
    blockInputStyle: BlockInputStyle(
      backgroundColor: Colors.black12,
      border: OutlineInputBorder(
            borderRadius: BorderRadius.all(Radius.circular(10)),
            borderSide: BorderSide(color: Colors.deepOrange, width: 1)
      ),
      focusedBorder: OutlineInputBorder(
            borderRadius: BorderRadius.all(Radius.circular(10)),
            borderSide: BorderSide(color: Colors.blueAccent, width: 2)
      )
    ),
    inputSize: 6,
)

Todo #

  • Input Controller
  • Input Listener
  • More Extensive Styles