FTabControl.lifted constructor

const FTabControl.lifted({
  1. required int index,
  2. required ValueChanged<int> onChange,
  3. FTabMotion motion,
})

Creates lifted state control.

Tab index is controlled by the parent widget.

The index parameter contains the current selected tab index. The onChange callback is invoked when the user selects a tab.

Implementation

const factory FTabControl.lifted({required int index, required ValueChanged<int> onChange, FTabMotion motion}) =
    _Lifted;