circleAvatar static method

OctoImageBuilder circleAvatar()

Implementation

static OctoImageBuilder circleAvatar() {
  return (context, child) => Center(
        child: AspectRatio(
          aspectRatio: 1.0,
          child: ClipOval(
            child: child,
          ),
        ),
      );
}