MenuTray constructor
const
MenuTray({
- TextStyle itemTextStyle = const TextStyle(color: Colors.black),
- TextStyle selectedItemTextStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.bold),
- Color backgroundColor = Colors.white,
- double itemsSeparation = 10,
- double trayBorderRadius = 5,
- double? trayHeight,
- double? trayWidth,
- 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)});