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
21 Comments

21 Comments


    Leave a Reply

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

    How to use the same Guard name in WEB and API Using Laravel Spatie Permission

    kizinho

    Published

    on

    NEWS: How to use the same Guard name in WEB and API Using Laravel Spatie Permission [New  Developer] » Naijacrawl
    Photo: Naijacrawl
    Hi, Folks will show how to use the same guard name on your Laravel application using Laravel Spatie Permission without creating multiple guards for your web and API when building your real projects.Spatie Permission comes with guard name it is used to authenticate user role and permission in your laravel app. But what if you have Role and Permission with Guard Name Web, it means only web can use this permission or role, when you want to use it for API to Authorize...
    Continue Reading

    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

    Latest


    Download Naijacrawl App today

    Fastest way to read on the go

    Download the Naijacrawl App.