NumericPad constructor

const NumericPad({
  1. Key? key,
  2. required void onButtonTap(
    1. String text
    ),
  3. NumericPadStyle style = const NumericPadStyle(),
  4. List<List<NumericPadNumber>> numbers = const [...kNumericPadNumbers, [NumericPadNumber.dot, NumericPadNumber.zero, NumericPadNumber.none]],
})

Implementation

const NumericPad({
  Key? key,
  required this.onButtonTap,
  this.style = const NumericPadStyle(),
  this.numbers = const [
    ...kNumericPadNumbers,
    [NumericPadNumber.dot, NumericPadNumber.zero, NumericPadNumber.none],
  ],
}) : super(key: key);