Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
SwipeableTabs
const SwipeableTabs({
super.key,
required this.tabs,
this.size,
this.initialIndex = 0,
this.onChanged,
this.contentHeight = 360,
this.tabBarColor,
this.selectedTabColor,
this.labelColor,
this.unselectedLabelColor,
this.tabPadding,
this.tabBarPadding,
this.tabSpacing = 0,
this.tabOverlap = TabBarStyle.overlap,
this.tabBarRadius,
this.contentSpacing,
this.animationDuration,
this.showSelectedShadow = true,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
tabs | List<SwipeableTab> | Yes | — |
size | ComponentSize? | No | null |
initialIndex | int | No | 0 |
onChanged | ValueChanged<int>? | No | null |
contentHeight | double | No | 360 |
tabBarColor | Color? | No | null |
selectedTabColor | Color? | No | null |
labelColor | Color? | No | null |
unselectedLabelColor | Color? | No | null |
tabPadding | EdgeInsetsGeometry? | No | null |
tabBarPadding | EdgeInsetsGeometry? | No | null |
tabSpacing | double | No | 0 |
tabOverlap | double | No | TabBarStyle.overlap |
tabBarRadius | double? | No | null |
contentSpacing | double? | No | null |
animationDuration | Duration? | No | null |
showSelectedShadow | bool | No | true |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/navigation/swipeable_tabs/swipeable_tabs.dart
This reference is generated from the SwipeableTabs declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

