base_form_fields/exports
library
Functions
-
defaultTranslationBuilder(String? value)
→ String?
-
-
findCountryById(String countryId)
→ CountryData?
-
-
showDropSelector({required List<LiteDropSelectorItem> buttonDatas, required Offset tapPosition, required BuildContext context, required InputDecoration? decoration, required Size buttonSize, required DropSelectorSettings settings, required TextStyle? style, required LiteForm group, })
→ Future
-
-
simpleSquareToggleBuilder(BuildContext context, bool isSelected)
→ Widget
-
-
tryFindCountries(String value)
→ List<CountryData?>
-
Tries to search a country by a name, iso code or a three letter code
Typedefs
-
CustomLiteToggleBuilder
= Widget Function(BuildContext context, bool isSelected)
-
-
DropSelectorItemBuilder
= Widget Function(LiteDropSelectorItem item)
-
-
DropSelectorItemIconBuilder
= Widget Function(BuildContext context, LiteDropSelectorItem item, bool isSelected)
-
-
LiteDropSelectorViewBuilder
= Widget Function(BuildContext context, List<LiteDropSelectorItem> selectedItems, String? error)
-
selectedItems
a list of items that are currently selected
error
a text of an error from validator or null
-
LiteFormBuilder
= Widget Function(BuildContext context, ScrollController scrollController)
-
-
-
MultiselectChipBuilder
= Widget Function(LiteDropSelectorItem item, ValueChanged<LiteDropSelectorItem> removeItem)
-
-
PasswordCheckBuilder
= Widget Function(bool? digitsOk, bool? upperCaseOk, bool? lowerCaseOk, bool? specialCharsOk, bool? lengthOk, bool? passwordsMatch)
-
-
ShowPasswordIconBuilder
= Widget Function(bool isVisible)
-
-
TranslationBuilder
= String? Function(String? value)
-
all of the forms' errors, hints and labels call this
function before displaying. The value passed as a parameter.
If you need to translate the value of even change it completely
return your value.
-
ViewBuilder
= Widget Function(BuildContext context, List<LiteFile> files)
-