bg_custom_textfield 0.0.3 copy "bg_custom_textfield: ^0.0.3" to clipboard
bg_custom_textfield: ^0.0.3 copied to clipboard

This package allows you to customize your text field.

0.0.3 #

[0.0.3] - 2025-05-10 #

Added #

  • BGCustomTextField Widget Enhancement: The BGCustomTextField widget has been significantly enhanced with a wide range of customizable properties, providing greater flexibility and control over its appearance and behavior. Key additions include:
    • Support for labelText, errorText, prefixIcon, and suffixIcon for richer visual presentation.
    • Properties for obscureText, keyboardType, maxLines, minLines, enabled, readOnly, and textAlign to control functionality.
    • style, border, fillColor, and filled properties for styling.
    • focusNode, onTap, and textCapitalization for advanced control.
    • Use of TextFormField for built-in form validation support.
    • Default UnderlineInputBorder for a consistent look.

Changed #

  • BGCustomTextField now uses TextFormField: This change allows for form validation and better integration with form handling.

Example Usage (Optional - if relevant, keep it concise) #

BGCustomTextField(
  hintText: "Enter your name",
  labelText: "Name",
  prefixIcon: Icons.person,
  controller: TextEditingController(),
  validator: (value) => value!.isEmpty ? "Field can't be empty" : null,
);

1
likes
150
points
37
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This package allows you to customize your text field.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on bg_custom_textfield