custom_main_text_field library
A highly customizable text field widget for Flutter with extensive styling, validation, password visibility toggle, and special features like "Forgot password?" button.
Quick start:
import 'package:custom_main_text_field/custom_main_text_field.dart';
CustomTextField(
controller: emailController,
hint: 'Enter email',
title: 'Email',
prefixIcon: Icons.email,
validator: (v) => v?.isEmpty ?? true ? 'Required' : null,
)
Classes
- CustomTextField
- A highly customizable text field widget with extensive styling and behavior options.