HorizontalMenuView constructor Null safety

HorizontalMenuView(
  1. {Key? key,
  2. List<String> values = const [],
  3. String defaultValue = "1주",
  4. double fontSize = 16,
  5. double spacing = 14,
  6. required Function onSelected}
)

Implementation

HorizontalMenuView({
  Key? key,
  this.values = const [],
  this.defaultValue = "1주",
  this.fontSize = 16,
  this.spacing = 14,
  required this.onSelected,
}) : super(key: key);