build abstract method

  1. @override
Widget build(
  1. BuildContext context, {
  2. required Size size,
  3. Color? color,
  4. bool enabled = true,
})

Must override this method to build the custom Widget with the given color as

Implementation

@override
Widget build(
  BuildContext context, {
  required Size size,
  Color? color,
  bool enabled = true,
});