Connect with us

Easy Steps to Achieve Circular Images in Flutter Using Flutter Widget

kizinho

Published

on

Follow
DEVELOPER PROGRAMMING: Easy Steps to Achieve Circular Images  in Flutter Using Flutter Widget [New  Developer Programming] » Naijacrawl
Photo: Naijacrawl
site

Easy Steps to Achieve Circular Images in Flutter Using Flutter Widget

Hi folks, have you been finding it difficult to easily apply circular images when writing your flutter applications. Today will show you guys the easy step to take in other to achieve it easily.

Step 1

Use CircleAvatar (recommended)

CircleAvatar(
  backgroundImage: AssetImage('assets/demo.jpg'),
  radius: 50,
)

Step 2

Use ClipOval

ClipOval(
  child: Image.asset(
    'assets/demo.jpg',
    fit: BoxFit.cover,
  ),
)

Step 3

Use ClipRRect

ClipRRect(
  borderRadius: BorderRadius.circular(50),
  child: Image.asset(
    'assets/demo.jpg',
    fit: BoxFit.cover,
  ),
)

Thanks for reading

Click Here To Comment


site


kizinho

Adike Kizito is a top-rated software developer, blogger, sports, and entertainment lover. He is the CEO of these popular websites Naijacrawl.com and Mp3ager.com. He operates his software developing task through Kizzsoft.com,... Read More

Continue Reading
Click to comment

Be first to comment


    Leave a Reply

    Your email address will not be published. Required fields are marked *

    How to Force Download Any Files On Your Wordpress Site Using Htaccess (mp3,mp4,pdf etc)

    kizinho

    Published

    on

    DEVELOPER WEBMASTER: How to Force Download Any Files On Your Wordpress Site Using Htaccess (mp3,mp4,pdf etc) [New  Developer Webmaster] » Naijacrawl
    Photo: Naijacrawl
    Hi, Folks will show you guys how to make your users download any file on your WordPress Site, without using any plugin. In other to achieve this we will use htaccess Log in to your Cpanel, Navigate to File Manager  Go to Public_html  At the right top of the menu, click on settings and thick show hidden files. #my force download,mp3 and mp4  AddType ​application/octet-stream .mp3 AddType ​application/octet-stream .mp4 ForceType ​applicaton/octet-stream Header ​se...
    Continue Reading

    How to Download Udemy Course Video For Free Using Udeler GUI

    kizinho

    Published

    on

    DEVELOPER SOFTWARE: How to Download Udemy Course Video For Free Using Udeler GUI [New  Developer Software] » Naijacrawl
    Photo: Naijacrawl
    Udeler (GUI) A cross-platform (Windows, Mac, Linux) desktop application for downloading Udemy Courses. I provided all the Os versions, windows, Linux and MMac, simply download the file and extract it  How to use Udeler Authenticator?Download and install the extension using the download button below After installing/enabling the extension, open udeler desktop app, you will see a new anonymous icon on the login page. Click the icon and it will start to listen for any...
    Continue Reading

    Easy way to Host your Laravel Application on Shared Hosting

    kizinho

    Published

    on

    DEVELOPER PROGRAMMING: Easy way to Host your Laravel Application on Shared Hosting [New  Developer Programming] » Naijacrawl
    Photo: Naijacrawl
    Hi , Folks have you finished building that your awesome project but hosting it o shared hosting is what remains, don't worry you are on the right track, I have the best way to do that.StepsCreate Database on your online cpanelUpload your project or use git to do thatSet everything up on your ENVnow we need .htaccess that you will create inside your laravel root folderInside the .htaccess add this code RewriteEngine On #ends RewriteCond %{HTTP_HOST} ^(www.)?mydomain...
    Continue Reading

    Latest


    Download Naijacrawl App today

    Fastest way to read on the go

    Download the Naijacrawl App.