TitleOptions constructor

TitleOptions({
  1. required String text,
  2. TextStyle style = const TextStyle(fontSize: 24, color: Colors.black, fontWeight: FontWeight.w600),
})

Implementation

TitleOptions({
  required this.text,
  this.style = const TextStyle(fontSize: 24, color: Colors.black, fontWeight: FontWeight.w600)
});