circlularNetworkImage method

Widget circlularNetworkImage(
  1. {Key key,
  2. double radius = 65.0,
  3. Color bgColor = Colors.white,
  4. Color fgColor,
  5. Widget child}
)

Implementation

Widget circlularNetworkImage(
        {Key key,
        double radius = 65.0,
        Color bgColor = Colors.white,
        Color fgColor,
        Widget child}) =>
    CircleAvatar(
      key: key,
      radius: radius,
      backgroundColor: bgColor,
      child: child,
      foregroundColor: fgColor,
      backgroundImage: NetworkImage(
        this,
      ),
    );