advance_text_field

a customizable text field. an advance text field for flutter, customizable and contain two button for save and make editable text field.

PropertyDescription
widthWidth of widget
heightHeight of widget
backgroundColorBackground color of widget
colorColor of widget
textColorText color of widget
textHintColorText hint color of widget
textStyleText style of widget
textHintStyleText hint style of widget
typetype of widget that widget's initial state(Edit or Save)
editLabelEdit label will showing for edit button of widget
saveLabelSave label will showing for edit button of widget
animationDurationAnimation duration
keyboardTypeKeyboard type of widget(default is 'text')
textHintHint text
textinitail text
controllerTextEditingController of widget
onEditTapWhen user tap on edit button onEditTap will call
onSaveTapWhen user tap on save button onSaveTap will call

Usage

AdvanceTextField(
  type: AdvanceTextFieldType.EDIT,
  editLabel: Icon(
    Icons.edit,
    color: Colors.white,
  ),
  saveLabel: Icon(
    Icons.check,
    color: Colors.white,
  ),
  textHint: 'Something...',
  onEditTap: () {},
  onSaveTap: (text) {
    print('value is: $text');
  },
)

advance_text_field

Libraries

advance_text_field