my_custom_textfield 1.0.1 copy "my_custom_textfield: ^1.0.1" to clipboard
my_custom_textfield: ^1.0.1 copied to clipboard

The 'my_custom_textfield' package provides a customizable text field widget for Flutter applications. This widget is designed to enhance the user input experience with features like customizable hint [...]

example/my_custom_textfield_example.dart

import 'package:flutter/material.dart';
import 'package:my_custom_textfield/my_custom_textfield.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('Custom Textfield Example')),
        body: Padding(
          padding: const EdgeInsets.all(16.0),
          child: CustomTextfield(
            controller: TextEditingController(),
            hintText: 'Enter text',
            prefixIcon: Icon(Icons.text_fields),
            keyboardType: TextInputType.text,
            maxLength: 20,
            onChanged: (value) {
              print('Text changed: $value');
            },
          ),
        ),
      ),
    );
  }
}
2
likes
135
points
19
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The 'my_custom_textfield' package provides a customizable text field widget for Flutter applications. This widget is designed to enhance the user input experience with features like customizable hint text, prefix icons, and input validation. Ideal for developers looking to implement consistent and stylish text fields across their apps, the 'CustomTextfield' widget supports various input types and formats, ensuring flexibility and ease of use.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on my_custom_textfield