createStatusBarButton method

Button createStatusBarButton(
  1. String iconPath,
  2. String tooltipText,
  3. bool disabled
)

Appends a button to the status bar of the panel. iconPath Path to the icon of the button. The file should contain a 64x24-pixel image composed of two 32x24 icons. The left icon is used when the button is inactive; the right icon is displayed when the button is pressed. tooltipText Text shown as a tooltip when user hovers the mouse over the button. disabled Whether the button is disabled.

Implementation

Button createStatusBarButton(
  String iconPath,
  String tooltipText,
  bool disabled,
) {
  return Button.fromJS(_wrapped.createStatusBarButton(
    iconPath,
    tooltipText,
    disabled,
  ));
}