FloatyTabWidget constructor

const FloatyTabWidget({
  1. Key? key,
  2. required FloatyTab floatyTab,
  3. FloatyShape shape = const CircleShape(),
})

Creates a FloatyTabWidget.

The floatyTab parameter is required and provides the data for the tab, including its icon, title, and selection state.

The shape parameter defines the shape of the tab's decoration and defaults to CircleShape.

Implementation

const FloatyTabWidget({
  super.key,
  required this.floatyTab,
  this.shape = const CircleShape(),
});