How to create an Image in Circle Shape?

This Article is posted by seven.srikanth at 28-08-2018 05:21:15

Follow the below steps to create an Image in Circle Shape.
You need to follow this article to add images to your project, How to add an image to the Project?
And then, copy the below code into your main.dart file. Note: Make sure you have updated the image file names as appropriate.
import 'package:flutter/material.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter Demo',
theme: new ThemeData(
home: new MyHomePage(title: 'Flutter Image Examples'),

class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);

final String title;

_MyHomePageState createState() => new _MyHomePageState();

class _MyHomePageState extends State<MyHomePage> {
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text(widget.title),
body: new Container(
child: new Center(
child: new Column(
children: [
backgroundImage: AssetImage('images/carimg.jpeg'),
radius: 150.0,
color: const Color(0xff00ffff),


Tags: Image in Circle Shape in Flutter; Image inside a Circle;

Login to comment.
Recent Comments

Be the first to Comment. You can ask a Query or Share your toughts or Just say thanks.

Recent Articles

How to deploy flutter web site on GitHub using peanut

Posted by nikhilchaudhary12155 on 13 Oct 2019 Article

AnimatedPositioned Widget Example in Flutter

Posted by seven.srikanth on 10 Oct 2019 Article

Flutter Open-Source and directory lists

Posted by nishantkotatech on 09 Oct 2019 Article

Flutter Travelling Couple Leading Page - Flutter Web Series 3

Posted by nikhilchaudhary12155 on 05 Oct 2019 Article

© 2018 - Fluttercentral | Email to me -