Example with FAB button?
Closed this issue · 6 comments
udiedrichsen commented
Can please provide an example with a fab button?
westdabestdb commented
Of course, I was little busy yesterday, but will do it today!
jagged91 commented
Agreed! I can't figure out how to add the FAB - there's no reference to it in the BubbleBottomBar class other than its location!
DevTard commented
@jgadsby @udiedrichsen If you want to add a fab add this code to your scaffold:
floatingActionButton: FloatingActionButton(onPressed: (){}, child: Icon(Icons.add), ),
floatingActionButtonLocation: FloatingActionButtonLocation.endDocked,
then make sure the same settings are being used in the bottom bar:
fabLocation: BubbleBottomBarFabLocation.end,
Hope this helps
jagged91 commented
Awesome, thanks guys!
westdabestdb commented
@DevTard Thank you for covering me! I'm dealing with multiple deadlines & final exams so couldn't have time to look up here.
westdabestdb commented
Hello everybody! Thank you for using the package. I pushed a new update to example app, which now has fab code. Check it in this commit.