logo method

Widget logo(
  1. double size, {
  2. Color color = Colors.white,
})

Implementation

Widget logo(double size, {Color color = Colors.white}) {
  return CircleAvatar(
      radius: size / 2,
      backgroundColor: color,
      child: Image.asset("assets/images/$name.png",
          height: size, width: (24.0 / 32.0) * size));
}