TextFieldContainer constructor Null safety

const TextFieldContainer(
  1. {Key? key,
  2. required TextEditingController textController,
  3. required String label,
  4. required Function errorCallback,
  5. TextInputFormatter? inputFormatter,
  6. List<String>? autoCompleteList,
  7. Color color = Colors.transparent}
)

Implementation

const TextFieldContainer(
    {Key? key,
    required this.textController,
    required this.label,
    required this.errorCallback,
    this.inputFormatter,
    this.autoCompleteList,
    this.color = Colors.transparent})
    : super(key: key);