FrostedGlassActionBar constructor

const FrostedGlassActionBar({
  1. Key? key,
  2. required ProImageEditorState editor,
  3. 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,
});