input_history_text_field 0.0.4 input_history_text_field: ^0.0.4 copied to clipboard
A input_history_text_field widget is show type history to users as they type.
input_history_text_field #
A input_history_text_field
widget is show type history to users as they type.
Usage #
-
The only key in the your application set to
historyKey
, supports like atext_field
,InputHistoryTextField( historyKey: "01", ),
-
the input history is automatically saved.( save up to
limit
, default to5
) -
You will be suggested as you type.
-
Unnecessary history can be deleted
Overview #
Attributes #
name | ex | note | |
---|---|---|---|
historyKey | key-01 |
String | a only key in the your application,saved with this key. |
limit | 5 |
int | max limit of input history |
hasFocusExpand | true |
bool | show input history of edit text focused |
showHistoryIcon | true |
bool | icon of input history at left positioned |
showDeleteIcon | true |
bool | icon of delete at right positioned |
enableHistory | true |
bool | enabled/disabled of input history |
enableOpacityGradient | true |
bool | make the input history list gradually transparent |
historyIcon | Icons.add |
IconData | a IconData for history icon. |
deleteIcon | Icons.delete |
IconData | a IconData for delete icon. |
listRowDecoration | BoxDecoration |
Decoration | a row of input history for decoration |
listDecoration | BoxDecoration |
Decoration | a list of input history for decoration |