MarkerLabel constructor Null safety

const MarkerLabel(
  1. {required String text,
  2. Color color = Colors.black,
  3. double fontSize = 12,
  4. FontWeight fontWeight = FontWeight.normal}
)

Implementation

const MarkerLabel({
  required this.text,
  this.color=Colors.black,
  this.fontSize=12,
  this.fontWeight=FontWeight.normal,
});