TextInputType.numberWithOptions constructor Null safety

const TextInputType.numberWithOptions(
  1. {bool? signed = false,
  2. bool? decimal = false}
)

Optimize for numerical information.

Requests a numeric keyboard with additional settings. The signed and decimal parameters are optional.

Implementation

const TextInputType.numberWithOptions({
  this.signed = false,
  this.decimal = false,
}) : index = 2;