Tab

A container representing a single tab of a TabFolder widget.

Import this type with “”

iOS

Type: string

A badge to attach to the tab.

image

iOSAndroid

Type:

An image to be displayed on the tab. Will not be shown on iOS if the ’s is set to

Type: Image

An image to be displayed on the currently active tab.

title

Type: string

The title to be displayed on the tab.

Fired when the badge property has changed.

Event Parameters

  • value: string The new value of badge.

imageChanged

Fired when the image property has changed.

Event Parameters

Fired when the selectedImage property has changed.

Event Parameters

  • target: this The widget the event was fired on.

  • value: Image The new value of .

titleChanged

Fired when the property has changed.

Event Parameters

  • value: string The new value of .

原文: