loading...
Cover image for How to use GF Avatar in Flutter app

How to use GF Avatar in Flutter app

getwidget profile image GetWidget ・1 min read

Does your app have a requirement of Avatar?

Why Not try GF Avatar to build an awesome avatar with the inbuilt widget component.

What is Avatar Widget?

Alt Text

It generally refers to the user profile images. Once users create an account with your application then Avatar design decides how their profile picture will look like. It might be a circular, square, and others as you would like too. GF Aavatr widget help you design your app that will decide how your user profile image will visible to users.

Most Common Avtar used in Flutter App:

Circular, Standard, and Square.

How to use Flutter Avatar Widget with GetFlutter?

Circular Avatar Widget Uses:

Alt Text

import 'package:getflutter/getflutter.dart';

GFAvatar(
  backgroundImage:NetworkImage(AvatarUrl);
)

Get Flutter Standard Avatar Widget:

Alt Text

import 'package:getflutter/getflutter.dart';

GFAvatar(
  backgroundImage:NetworkImage(AvatarUrl);
  shape: GFAvatarShape.standard
)

Get Flutter Square Avatar Widget

Alt Text

import 'package:getflutter/getflutter.dart';

GFAvatar(
  backgroundImage:NetworkImage(AvatarUrl);
  shape: GFAvatarShape.square
)

Read More about Get Flutter Widget and it uses: https://docs.getflutter.dev/gf-avatar

IF you have any suggestion or you would like to contribute to GetFlutter open-source then check out GitHub: https://github.com/ionicfirebaseapp/getflutter

Posted on by:

getwidget profile

GetWidget

@getwidget

www.getwidget.dev is an open-source UI Library for Flutter App Development built on Flutter SDK. Get Start https://docs.getwidget.dev/

Discussion

markdown guide