bottom_indicator_bar

Creator: coderz1093

Last updated:

0 purchases

bottom_indicator_bar Image
bottom_indicator_bar Images

Languages

Categories

Add to Cart

Description:

bottom indicator bar

bottom_indicator_bar #
A flutter bottom tab with indicator, similar to the bottom tab of facebook app

Getting Started #
Add the dependency in pubspec.yaml:
dependencies:
...
bottom_indicator_bar: lastest_version
copied to clipboard
Basic Usage #
class HomePage extends StatefulWidget {
@override
State createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
final List<BottomIndicatorNavigationBarItem> items = [
BottomIndicatorNavigationBarItem(icon: Icons.home),
BottomIndicatorNavigationBarItem(icon: Icons.search),
BottomIndicatorNavigationBarItem(icon: Icons.settings),
];


@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Indicator Bottom Bar"),
backgroundColor: Colors.teal,
),
body: Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
],
),
),
bottomNavigationBar: BottomIndicatorBar(
onTap: (index) => {},
items: items,
activeColor: Colors.teal,
inactiveColor: Colors.grey,
indicatorColor: Colors.teal,
),
);
}
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.