ImageHelper class
Constructors
Properties
- backgroundColor ↔ Color
-
background color for bottom sheet dialog, default is white
getter/setter pair
- cameraText ↔ String
-
camera text, default is Camera
getter/setter pair
- cancelText ↔ String?
-
write cancel text default cancel
getter/setter pair
- deniedCameraDescriptionMessage ↔ String?
-
if permanently denied camera permission the we display description to enable permission from settings
getter/setter pair
- deniedCloseWidget ↔ Widget?
-
close widget for denied dialog box close
getter/setter pair
- deniedFilesDescriptionMessage ↔ String?
-
if permanently denied storage permission the we display description to enable permission from settings
getter/setter pair
- deniedGalleryDescriptionMessage ↔ String?
-
if permanently denied gallery permission the we display description to enable permission from settings
getter/setter pair
- deniedSettingHeadingText ↔ String?
-
write title for denied windows default is" we need permission"
getter/setter pair
- fileText ↔ String
-
file text,default is Files
getter/setter pair
- galleryText ↔ String
-
gallery text, default is Gallery
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconColor ↔ Color
-
colors for icon, default is black
getter/setter pair
- imageCallBack ↔ dynamic Function(File file)
-
callback function, return type is File
getter/setter pair
- openSettingDecoration ↔ BoxDecoration
-
decoration for open setting button
getter/setter pair
- progressBarColor ↔ Color?
-
getter/setter pair
- progressBarShowing ↔ bool?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle ↔ TextStyle
-
text style for texts
getter/setter pair
Methods
-
imagePermissionCheck(
BuildContext context, Permission permission, FileType fileType, int type) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openSettingDialog(
BuildContext context, int type, Future< bool> param1()) → void -
pickCameraPhoto(
BuildContext context, {FileType? fileType}) → Future< File?> -
pickFile(
FileType fileType, BuildContext context, {List< String> ? allowedExtensions}) → Future<File?> -
showPhotoBottomDialog(
BuildContext context, bool isIos, dynamic imageCallBack(File file), {Color? backgroundColor, Color? iconColor, BoxDecoration? openSettingDecoration, TextStyle? textStyle, String? cameraText, String? galleryText, String? fileText, String? deniedCameraDescriptionMessage, String? deniedGalleryDescriptionMessage, String? deniedFilesDescriptionMessage, String? cancelText, String? deniedSettingHeadingText, Widget? deniedCloseWidget, bool? progressBarShowing, Color? progressBarColor, bool allowFile = false, FileFormat? fileFormat}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited