build method

  1. @override
Widget build(
  1. BuildContext context,
  2. InputOTPChildData data
)
override

Implementation

@override
Widget build(BuildContext context, InputOTPChildData data) {
  final theme = Theme.of(context);
  return SizedBox(
    width: theme.scaling * 32,
    height: theme.scaling * 32,
    child: Center(
      child: child,
    ),
  );
}