widgets/widgets library

Classes

CustomButton
CustomNetworkImage
CustomNetworkImage is a custom image widget isFromAPI is define your image from api or internet apiUrl if isFromAPI then apiUrl is required apiUrl if isFromAPI then apiExtraSlag is optional errorImagePath is your local assets path (optional)/errorIconData is iconData (optional) if your image is not exists or internet connection is failed then this image show to user Define CustomNetworkImage when is from api url CustomNetworkImage( isFromAPI: true, isPreviewPageNeed: false, networkImagePathFromAPI: UserController.to.getUserInfo.profilePhotoUrl ?? '', apiUrl: Service.apiUrl, width: 70, height: 70, errorImagePath: 'images/image/user-default.png', fit: BoxFit.cover, )
CustomTextField
GiveARatingWidget
ImagePreview
MarqueeWidget
MyDivider
NetworkImageWidget
RatingWidget
TitleDropdown
ToastManager
ToastWidget

Enums

NetworkImageBorder
RatingTextPosition
ToastPosition
determines the position of the toast

Functions

getImageUrl(String url) String
getImageUrl is a function for get image url from api url is your image url getImageUrl return image url Define getImageUrl when is from api url