TextFieldWidget constructor
const
TextFieldWidget({
- Key? key,
- required TextEditingController controller,
- required dynamic onChanged(
- String val
- required dynamic onSubmit(
- String val
- required double fontSize,
- required int fontFamilyIndex,
- required Color textColor,
- required int backgroundColorIndex,
- required List<
String> fontList, - required List<
List< gradients,Color> >
Creates an instance of the widget.
All parameters are required and must not be null.
Implementation
const TextFieldWidget({
super.key,
required this.controller,
required this.onChanged,
required this.onSubmit,
required this.fontSize,
required this.fontFamilyIndex,
required this.textColor,
required this.backgroundColorIndex,
required this.fontList,
required this.gradients,
});