AppStack constructor

const AppStack({
  1. Key? key,
  2. required Widget child,
  3. required String title,
  4. required List<AppStackMenuItem> menu,
  5. Color? activeColor,
  6. Gradient? activeGradient,
  7. Color? inactiveColor,
  8. Color? backgroundColor,
  9. Color? activeBackgroundColor,
  10. Color? inactiveBackgroundColor,
  11. bool showAppBar = false,
  12. bool showNavBar = true,
  13. AppBar? appBar,
  14. dynamic listener(
    1. BuildContext context,
    2. WidgetRef ref
    )?,
})

Implementation

const AppStack(
    {super.key,
    required this.child,
    required this.title,
    required this.menu,
    this.activeColor,
    this.activeGradient,
    this.inactiveColor,
    this.backgroundColor,
    this.activeBackgroundColor,
    this.inactiveBackgroundColor,
    this.showAppBar = false,
    this.showNavBar = true,
    this.appBar,
    this.listener});