enhanced_text_field 0.0.1 copy "enhanced_text_field: ^0.0.1" to clipboard
enhanced_text_field: ^0.0.1 copied to clipboard

Provides an enhanced text field with confirm and cancel buttons, while indicating a field has changed from initial values. Assists in editing of forms and tracking and displaying changed fields.

enhanced_text_field #

Provides an enhanced text field with confirm and cancel buttons, while indicating a field has changed from initial values. Assists in editing of forms and tracking and displaying changed fields.

Installation #

This package is not yet available on pub.dev. To use this package, add the following to your pubspec.yaml file:

dependencies:
  enhanced_text_field:
    git:
      url: https://github.com/cybex-dev/enhanced_text_field.git
      ref: master

Getting Started #

Imports #

import 'package:enhanced_text_field/enhanced_text_field.dart';

This is a (mostly) drop-in replacement for the standard TextField widget. It provides (mostly) the same functionality, with additional features.

Example #

EnhancedTextField<String>(
    initialValue: "Initial Value",
    controller: TextEditingController(),
    focusNode: FocusNode(),
    valueMapper: ValueMapper.string,
);

Features #

  • Drop-in replacement for TextField widget.
  • Indicate field changes with didChange property
  • Accept/reject field changes with Future<bool> callback
0
likes
140
pub points
0%
popularity

Publisher

verified publisherearthbase.io

Provides an enhanced text field with confirm and cancel buttons, while indicating a field has changed from initial values. Assists in editing of forms and tracking and displaying changed fields.

Homepage

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on enhanced_text_field