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.
BottomNavigation
const BottomNavigation({
super.key,
required this.items,
this.size,
this.borderRadius,
required this.selectedIndex,
required this.onChanged,
this.height,
this.width,
this.navigationPlacement = NavigationPlacement.automatic,
this.motion,
this.itemOverlap,
this.margin,
this.useSafeArea = true,
this.hapticFeedback = true,
this.foregroundColor,
this.labelStyle,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
items | List<BottomNavigationItem> | Yes | — |
size | ComponentSize? | No | null |
borderRadius | double? | No | null |
selectedIndex | int? | Yes | — |
onChanged | ValueChanged<int>? | Yes | — |
height | double? | No | null |
width | double? | No | null |
navigationPlacement | NavigationPlacement | No | NavigationPlacement.automatic |
motion | BottomNavigationMotion? | No | null |
itemOverlap | double? | No | null |
margin | EdgeInsetsGeometry? | No | null |
useSafeArea | bool | No | true |
hapticFeedback | bool | No | true |
foregroundColor | Color? | No | null |
labelStyle | TextStyle? | No | null |
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/bottom_navigation/bottom_navigation.dart
This reference is generated from the BottomNavigation declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

