CustomText constructor

const CustomText({
  1. Key? key,
  2. required String text,
  3. required bool selected,
})

Implementation

const CustomText({
  Key? key,
  required this.text,
  required this.selected,
}) : super(key: key);