initiallyExpanded property

bool initiallyExpanded
getter/setter pair

Allows you to set the allowed extensions when a user inserts an image

By default any image extension is allowed. Allows you to set whether the toolbar starts out expanded (in gridview) or contracted (in scrollview).

By default it starts out contracted.

This option only works when you have set toolbarType to ToolbarType.nativeExpandable.

Implementation

// final List<String>? imageExtensions;

/// Allows you to set whether the toolbar starts out expanded (in gridview)
/// or contracted (in scrollview).
///
/// By default it starts out contracted.
///
/// This option only works when you have set [toolbarType] to
/// [ToolbarType.nativeExpandable].
bool initiallyExpanded;