FileEditingController class
Constructors
-
FileEditingController({File? value, bool? allowCompression, List<
String> ? allowedExtensions, String? dialogTitle, String? initialDirectory, bool? lockParentWindow, dynamic onFileLoading(FilePickerStatus)?, FileType? type}) -
FileEditingController.image({File? image, bool? allowCompression, List<
String> ? allowedExtensions, String? dialogTitle, String? initialDirectory, bool? lockParentWindow, dynamic onFileLoading(FilePickerStatus)?, FileType? type = FileType.image})
Properties
- allowCompression → bool?
-
final
-
allowedExtensions
→ List<
String> ? -
final
- dialogTitle → String?
-
final
- file ↔ File?
-
getter/setter pair
- fileString → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialDirectory → String?
-
final
- lockParentWindow → bool?
-
final
- onFileLoading → (dynamic Function(FilePickerStatus)?)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → FileType?
-
final
Methods
-
clear(
) → void -
getFile(
BuildContext context) → Future< File?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pick(
) → Future< FilePickerResult?> -
toString(
) → String -
A string representation of this object.
inherited
-
upload(
) → Future< File?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited