BlurBottomView constructor

const BlurBottomView({
  1. Key? key,
  2. bool showSelectedLabels = false,
  3. bool showUnselectedLabels = false,
  4. VoidCallback? onClick,
  5. double filterX = 5.0,
  6. double filterY = 10.0,
  7. double opacity = 0.8,
  8. Color backgroundColor = Colors.black,
  9. BottomNavigationBarType bottomNavigationBarType = BottomNavigationBarType.fixed,
  10. int currentIndex = 0,
  11. required dynamic onIndexChange(
    1. int
    ),
  12. required List<BottomNavigationBarItem> bottomNavigationBarItems,
  13. Color selectedItemColor = Colors.blue,
  14. Color unselectedItemColor = Colors.white,
})

Implementation

const BlurBottomView(
    {Key? key,
    this.showSelectedLabels = false,
    this.showUnselectedLabels = false,
    this.onClick,
    this.filterX = 5.0,
    this.filterY = 10.0,
    this.opacity = 0.8,
    this.backgroundColor = Colors.black,
    this.bottomNavigationBarType = BottomNavigationBarType.fixed,
    this.currentIndex = 0,
    required this.onIndexChange,
    required this.bottomNavigationBarItems,
    this.selectedItemColor = Colors.blue,
    this.unselectedItemColor = Colors.white})
    : super(key: key);