textfield_plus 0.1.7
textfield_plus: ^0.1.7 copied to clipboard
A highly customizable and easy-to-use text field widget for Flutter.
Custom Text Field for Flutter #
A customizable and feature-rich text field widget for Flutter applications. This package provides a CustomTextField widget with various styling and validation options.
Features #
- Customizable appearance (filled background, border styles, icons, etc.).
- Input validation (phone numbers, emails, required fields).
- Support for different input types (text, number, email, phone).
- Prefix icons and currency support.
- Read-only and selectable text fields.
- Focus management and auto-selection of text.
Installation #
Add this package to your pubspec.yaml:
dependencies:
textfield_plus: ^latest_version
## Usage
import 'package:textfield_plus/textfield_plus.dart';
CustomTextField(
controller: _controller,
hintText: 'Enter text here',
prefixIcon: Icon(Icons.text_fields),
validator: (value) {
if (value.isEmpty) {return 'This field cannot be empty';}
else{
return null;}},
),

