MenuStyles constructor

MenuStyles({
  1. TextStyle? menuSelectedTextStyle,
  2. TextStyle? menuUnSelectedTextStyle,
  3. TextStyle? searchBarHintStyle,
  4. TextStyle? searchBarTextStyle,
})

Implementation

MenuStyles(
    {TextStyle? menuSelectedTextStyle,
    TextStyle? menuUnSelectedTextStyle,
    TextStyle? searchBarHintStyle,
    TextStyle? searchBarTextStyle}) {
  this.menuSelectedTextStyle = menuSelectedTextStyle ??
      const TextStyle(fontSize: 20, color: Colors.black);
  this.menuUnSelectedTextStyle = menuUnSelectedTextStyle ??
      const TextStyle(fontSize: 20, color: Color(0xFF7a7a7a));
  this.searchBarHintStyle = searchBarHintStyle ??
      const TextStyle(fontSize: 12, color: Color(0xFF8d8d8d));
  this.searchBarTextStyle = searchBarTextStyle ??
      const TextStyle(fontSize: 12, color: Colors.black);
}