FormHookUtil class Null safety

Constructors

FormHookUtil()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fhDropDown({required String name, required String label, required BuildContext context, List? valueandlabel, List? values, List? labels, IconData? icon, Widget? suffix, bool isRequired = true, FieldDecType fieldDecType = FieldDecType.Normal, InputDecoration? inputDecoration, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 15, vertical: 10), List<String? Function(dynamic)>? validator}) Widget
getFormFieldFromStr({required String name, required BuildContext context}) Widget
getValidators(List<FormHookValidator> validator, BuildContext context) → dynamic
makeFields({required List fields, required BuildContext context}) Widget
textForm({required String name, required String label, String? hint, required BuildContext context, TextEditingController? controller, bool obscure = false, IconData? icon, Widget? suffix, bool isRequired = true, TextInputType? inputType, FieldDecType fieldDecType = FieldDecType.Normal, InputDecoration? inputDecoration, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 15, vertical: 10), List<String? Function(dynamic)>? validator}) Widget