lib/lib library

Functions

addLastKeyToMap(FieldsMap map) FieldsMap
Add last key vith empty string value
defaultDecoration({required String labelText}) InputDecoration
Function to generate default InputDecoration for TextField widget
mapFromList(List<String> list) Map<String, String>
Create map with random unique keys
randKey() String
Generate random key
removeEmptyKeysFromMap(FieldsMap map) FieldsMap
Remove keys with empty values and return new map
stringListFromMap(FieldsMap map) List<String>
Create List of string from values of map

Typedefs

FieldsMap = Map<String, String>