Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
MarsadMaqsood committed Mar 25, 2022
1 parent b6741a7 commit 8d74ac7
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 661 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 0.1.1
- Removed unnecessary code
- Updated README.MD

# 0.1.0
Expand Down
52 changes: 25 additions & 27 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,41 +139,34 @@ class _PageExampleState extends State<PageExample> {
return Scaffold(
body: PageView(
controller: controller,
// physics: NeverScrollableScrollPhysics(),
children: [
//Home(),
//Add(),
//Profile(),
],
),
bottomNavigationBar: AnimatedNavigationBar(
fabLocation: StylishBarFabLocation.center,
hasNotch: true,
bottomNavigationBar: StylishBottomBar(
items: [
AnimatedBarItems(
icon: Icon(
Icons.home,
),
selectedColor: Colors.deepPurple,
backgroundColor: Colors.amber,
title: Text('Home')),
AnimatedBarItems(
icon: Icon(
Icons.add_circle_outline,
),
selectedColor: Colors.green,
backgroundColor: Colors.amber,
title: Text('Add')),
AnimatedBarItems(
icon: Icon(
Icons.person,
),
backgroundColor: Colors.amber,
selectedColor: Colors.pinkAccent,
title: Text('Profile')),
BubbleBarItem(
icon: Icon(Icons.abc),
title: Text('Abc'),
),
BubbleBarItem(
icon: Icon(Icons.safety_divider),
title: Text('Safety'),
),
BubbleBarItem(
icon: Icon(Icons.cabin),
title: Text('Cabin'),
),
],
iconSize: 32,
barAnimation: BarAnimation.transform3D,
fabLocation: StylishBarFabLocation.end,
hasNotch: true,
// iconSize: 32,
// barStyle: BubbleBarStyle.horizotnal,
barStyle: BubbleBarStyle.vertical,
bubbleFillStyle: BubbleFillStyle.fill,
// bubbleFillStyle: BubbleFillStyle.outlined,
opacity: 0.3,
currentIndex: selected,
onTap: (index) {
Expand All @@ -183,6 +176,11 @@ class _PageExampleState extends State<PageExample> {
});
},
),
floatingActionButton: FloatingActionButton(
onPressed: () {},
child: Icon(Icons.emoji_emotions),
),
floatingActionButtonLocation: FloatingActionButtonLocation.endDocked,
);
}
}
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.0"
version: "0.1.1"
term_glyph:
dependency: transitive
description:
Expand Down
279 changes: 0 additions & 279 deletions lib/src/anim_nav/animated_nav_bar.dart

This file was deleted.

Loading

0 comments on commit 8d74ac7

Please sign in to comment.