CommonWidgets class

Constructors

CommonWidgets()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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 Properties

primaryColor Color
getter/setter pair

Static Methods

commonTextField({required String labelText, Widget? prefix, TextEditingController? controller, dynamic onChanged(String)?, Widget? suffixIcon, Color? themeColor, bool? obscure, bool? readOnly}) Widget
commonUnderLineTextField({List<TextInputFormatter>? inputFormatters, TextInputAction? textInputAction, required String labelText, required bool useMobileLayout, bool? readOnly, String? hintText, bool? isObscure, TextEditingController? controller, dynamic onChanged(String)?, Widget? prefix, String? helperText = "", Widget? suffixIcon, TextInputType? keyboardType, String? validator(String?)?, Color? themeColor, FocusNode? focusNode, dynamic onTap()?, int? maxlength}) Widget