FrostedGlassActionBar constructor
const
FrostedGlassActionBar({
- Key? key,
- required ProImageEditorState editor,
- required dynamic openStickerEditor(),
Creates a FrostedGlassActionBar.
The editor
and openStickerEditor
parameters are required to configure
the action bar's behavior. The editor
parameter provides access to the
image editor's state, allowing the action bar to interact with and modify
the image being edited. The openStickerEditor
parameter is a callback
function that opens the sticker editor when invoked.
Example:
FrostedGlassActionBar(
editor: myEditorState,
openStickerEditor: () => myStickerEditorFunction(),
)
Implementation
const FrostedGlassActionBar({
super.key,
required this.editor,
required this.openStickerEditor,
});