custom static method

Widget custom(
  1. dynamic color
)

Implementation

static Widget custom(color) {
  return Container(
    width: double.maxFinite,
    height: double.maxFinite,
    color: Color(color),
  );
}