isActive property

bool Function(EditorScope scope)? isActive
final

Whether the button is drawn lit, as a tool in use or a workspace that is open; asked each time the toolbar is built, null for never.

Implementation

final bool Function(EditorScope scope)? isActive;