Og1Layout constructor

const Og1Layout({
  1. Key? key,
  2. PreferredSizeWidget? appBar,
  3. required Widget body,
  4. required List<TabModel> tabs,
  5. required int currentIndex,
  6. required dynamic onTap(
    1. int id
    ),
  7. double sideMenuWidth = 250.0,
  8. bool desktopLayout = false,
})

Implementation

const Og1Layout({
  Key? key,
  this.appBar,
  required this.body,
  required this.tabs,
  required this.currentIndex,
  required this.onTap,
  this.sideMenuWidth = 250.0,
  this.desktopLayout = false,
}) : super(key: key);