GroupMenuView constructor Null safety

GroupMenuView(
  1. {Key? key,
  2. List<CowGroup> groups = const [],
  3. CowGroup? currentGroup,
  4. Color backgroundColor = CustomColors.pale_grey,
  5. Function? onTap}
)

Implementation

GroupMenuView({
  Key? key,
  this.groups = const [],
  this.currentGroup,
  this.backgroundColor = CustomColors.pale_grey,
  this.onTap,
}) : super(key: key);