MenuTray constructor

const MenuTray({
  1. TextStyle itemTextStyle = const TextStyle(color: Colors.black),
  2. TextStyle selectedItemTextStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.bold),
  3. Color backgroundColor = Colors.white,
  4. double itemsSeparation = 10,
  5. double trayBorderRadius = 5,
  6. double? trayHeight,
  7. double? trayWidth,
  8. EdgeInsets padding = const EdgeInsets.all(15),
})

Implementation

const MenuTray(
    {this.itemTextStyle = const TextStyle(color: Colors.black),
    this.selectedItemTextStyle =
        const TextStyle(color: Colors.black, fontWeight: FontWeight.bold),
    this.backgroundColor = Colors.white,
    this.itemsSeparation = 10,
    this.trayBorderRadius = 5,
    this.trayHeight,
    this.trayWidth,
    this.padding = const EdgeInsets.all(15)});