BlurEditor class
The BlurEditor
widget allows users to apply blur to images.
You can create a BlurEditor
using one of the factory methods provided:
BlurEditor.file
: Loads an image from a file.BlurEditor.asset
: Loads an image from an asset.BlurEditor.network
: Loads an image from a network URL.BlurEditor.memory
: Loads an image from memory as aUint8List
.BlurEditor.autoSource
: Automatically selects the source based on provided parameters.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BlurEditor
- Mixed-in types
Constructors
- BlurEditor.asset(String assetPath, {Key? key, required BlurEditorInitConfigs initConfigs})
-
Constructs a
BlurEditor
widget with an image loaded from an asset.factory - BlurEditor.autoSource({Key? key, required BlurEditorInitConfigs initConfigs, Uint8List? byteArray, File? file, String? assetPath, String? networkUrl})
-
Constructs a
BlurEditor
widget with an image loaded automatically based on the provided source.factory - BlurEditor.file(File file, {Key? key, required BlurEditorInitConfigs initConfigs})
-
Constructs a
BlurEditor
widget with an image loaded from a file.factory - BlurEditor.memory(Uint8List byteArray, {Key? key, required BlurEditorInitConfigs initConfigs})
-
Constructs a
BlurEditor
widget with image data loaded from memory.factory - BlurEditor.network(String networkUrl, {Key? key, required BlurEditorInitConfigs initConfigs})
-
Constructs a
BlurEditor
widget with an image loaded from a network URL.factory
Properties
- editorImage → EditorImage
-
Returns the editor image
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initConfigs → BlurEditorInitConfigs
-
Returns the initialization configurations for the editor.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited