Widgets class

common widgets which are helpful in most of the screen in the app

Constructors

Widgets()

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

App logo widget with customizable height and width and radius
networkImageContainer({String? imageUrl, double? width, double? height}) Widget
network image container with radius and size
noProfileContainer({String? name}) Widget
no profile picture widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
otpField({required BuildContext context, required bool first, required bool last, required TextEditingController otpController}) Widget
default otp fields to enter otp
settingOptionTile({required BuildContext context, required String tileText, void onTap()?, bool showArrowIcon = true, Color? tileTextColor}) Widget
default setting option tile for various fields
textButton({required void onPressed()?, required String text, double? elevation, EdgeInsetsGeometry? padding, Color? backgroundColor, Color? overlayColor, double? fontSize, TextStyle? style, double? borderRadius, Widget? child}) Widget
customized text button with default option
textFormField({required TextEditingController controller, required String labelText, void onChanged(String)?, String? validator(String?)?, TextInputType? keyboardType, double? maxWidth, int? maxLines, bool? obscureText, void onPressedSuffixIcon()?, IconData? suffixIcon}) Widget
customized text form field with default option
toString() String
A string representation of this object.
inherited

Operators

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