build abstract method

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

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

Implementation

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