Flutter plugin that allows users to create TextAvatar easily!

Overview

Colorize Text Avatar

Colorize Text Avatar is a package to generate avatar based on your user initials. It supports to generate avatars based on your specification or it colorize your avatar by using predefined colors. Enjoy it!

Colorize Text Avatar

Getting Started πŸ”₯

It is an easy and powerfull package to generate text avatars for your users!

Let's see how to generate an avatar easily!

Usage of Colorize Text Avatar 😎

Here is the only mandatory parameter is text.

TextAvatar(
    text: "Deniz Γ‡olak",
)

Colorize Text Avatar

Parameters of Text Avatar 😎

Here is the predefined shapes: Rectangle, Circular or None, if shape is null or not defined the default value similar with Rectangle but not same.

Shape.Rectangle, Shape.Circular, Shape.None can be use.

TextAvatar(
    shape: Shape.Circular,
    text: "Deniz Γ‡olak"
)

Colorize Text Avatar

numberLetters parameter allows user to generate Avatar more specific number of character.

Developer can predefine size and numberLetters, if numberletters is null or not defined the default value is 1.

TextAvatar(
    shape: Shape.Rectangle,
    size: 35,
    numberLetters: 2,

)

Colorize Text Avatar

Other parameters can be change according to your specification.

Developers can extend the TextAvatar model according to their specification, currently below parameters are supported.

TextAvatar(
    shape: Shape.Circular,
    size: 35
    textColor: Colors.white,
    fontSize: 14,
    fontWeight: FontWeight.w600,
    upperCase: true,
    backgroundColor: Colors.black,
    numberLetters: 1,

    text: this.widget.userdata.fullname,
)

License

License

2021

Youtube Channel

Youtube

You might also like...

Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler temperature and check the psi of the tires.

Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler temperature and check the psi of the tires.

Tesla App Tesla car app using Flutter that works both android and iOS. Users can unlock any door, check battery status also control the air cooler tem

Dec 18, 2022

Flutter app that uses Instagram public API to show users profile

instagramfinder A new Flutter project. Getting Started This project is a starting point for a Flutter application. I used Instagram public API for fet

Sep 7, 2022

Custom Gesture Detector for Flutter. Empower your users with custom gestures.

Gestures Custom Gesture Detector for Flutter. Empower your users with custom gestures. How to use In your pubspec.yaml: dependencies: gestures: ^1.0

Nov 4, 2022

Flutter app to track stocks for multiple users, using Cloud Firestore on the backend.

Flutter app to track stocks for multiple users, using Cloud Firestore on the backend.

stock_tracker Flutter app to track stocks for multiple users, using Cloud Firestore on the backend. Overview I wrote this Flutter application as a mea

Sep 16, 2022

Autoparts BD: a flutter application for all vehicle users

Autoparts BD: a flutter application for all vehicle users

AutoParts BD Project Description Autoparts BD is a mobile application for all ve

Sep 18, 2022

Spaced is an animated travel application UI that enables users to find locations and schedule trips.

Spaced is an animated travel application UI that enables users to find locations and schedule trips.

spaced_travel_app Spaced is an animated travel application UI that enables users to find locations and schedule trips. It is based on an amazing UI by

Nov 10, 2022

'Efficacy' is a an Android app that keeps users updated on all events and happenings in and around the NITS campus. Note that the one in this repo is a slightly altered version of the original.

'Efficacy' is a an Android app that keeps users updated on all events and happenings in and around the NITS campus. Note that the one in this repo is a slightly altered version of the original.

Efficacy : The proposed Android app for all clubs, events and happenings at NIT Silchar Get the release APK Some interesting features of this app incl

Aug 29, 2021

The Quack Project on every Emory student phone, organizing the calendars of users & eliminating all frustrations with on-campus dining.

Bestagons Micro-Charter Code Name: Quack Mission Statement: Bestagons are a 6-person team dedicated to developing the experience and skills necessary

Dec 20, 2021

Winner (2nd Place) of the all-India UIDAI Hackathon 2021. The project contains a Verifier and a Resident application built to authenticate users through Aadhaar API's

Winner (2nd Place) of the all-India UIDAI Hackathon 2021. The project contains a Verifier and a Resident application built to authenticate users through Aadhaar API's

Second Place Winner for the UIDAI Hackathon 2021 by Team 202 ACCEPTED Theme 2 : Problem Statement 4 100% Authentication success in Rural India Importa

Dec 30, 2022
Comments
  • Arguments improves

    Arguments improves

    • Replace fontSize, fontFamily, fontWeight, textColor arguments for style: TextStyle(fontSize, fontFamily, fontWeight, color) argument.
    • Add a borderRadius argument and replace your Shape enum for Flutter BoxShape enum
    opened by seel-channel 0
  • Throws a 'Null check operator used on a null value' exception when the text is an Arabic letters or numbers

    Throws a 'Null check operator used on a null value' exception when the text is an Arabic letters or numbers

    Hi @deniscolak how are you, I recently had this exception when I attempted to use it with Arabic letters or even numbers, I couldn't figure it out until I removed the Arabic letters and worked just fine.

    Here's a sample:

    Code:

    class TestApp extends StatelessWidget {
      const TestApp({Key? key}) : super(key: key);
    
      @override
      Widget build(BuildContext context) {
        return Scaffold(
          appBar: AppBar(
            title: const Text('Ψ§Ω‡Ω„Ψ§'),
          ),
          body: Center(
            child: TextAvatar(
              text: 'Ω…Ψ±Ψ­Ψ¨Ψ§',
              shape: Shape.Circular,
              upperCase: true,
            ),
          ),
        );
      }
    }
    

    Exception:

    ════════ Exception caught by widgets library ═══════════════════════════════════
    
    The following _CastError was thrown building TextAvatar(dirty):
    
    Null check operator used on a null value
    
    opened by devmuaz 0
  • numberLetters argument works weird

    numberLetters argument works weird

    I'm sorry for a lot of issues. I thought the numberLetters argument shows max amount of letter.

    Example: text: "Luis Felipe Murguia Ramos" and numberLetters: 3 I thought it will show LFM but only shows L, but if I putnumberLetters: 4 then it shows "LF"

    bug help wanted good first issue 
    opened by seel-channel 0
Owner
Deniz Γ‡olak
Deniz Γ‡olak
Developed a Group chat application using Flutter and Firebase, where users can register and create groups or join already existing groups and start conversing with each other.

GroupChatApp About Developed a Group chat application using Flutter and Firebase, where users can register and create groups or join already existing

Ahmed Gulab Khan 221 Dec 1, 2022
Utility Manager Flutter Application is made with Flutter and Supabase which allows user to add task, set remainder to the task, set color to separate tasks and it allows to add URL with URL's informations.

Utility Manager Flutter Application! Utility Manager Flutter Application is made with Flutter and Supabase which allows user to add task, set remainde

Kathirvel Chandrasekaran 6 Jan 6, 2022
Amir Khan 47 Jan 8, 2023
This Dart package will utilize the plugin, google_mobile_ads, so to quickly and easily implement ads into a Flutter app.

Ads to your App in a Snap! This Dart package will utilize the plugin, google_mobile_ads, so to quickly and easily implement ads into a Flutter app

Andrious Solutions Ltd. 58 Sep 11, 2022
This plugin allows Flutter desktop apps to resizing and repositioning the window.

window_manager This plugin allows Flutter desktop apps to resizing and repositioning the window. window_manager Platform Support Quick Start Installat

LeanFlutter 346 Jan 3, 2023
This plugin allows Flutter desktop apps to defines system/inapp wide hotkey (i.e. shortcut).

hotkey_manager This plugin allows Flutter desktop apps to defines system/inapp wide hotkey (i.e. shortcut). hotkey_manager Platform Support Quick Star

LeanFlutter 81 Dec 21, 2022
Community WebView Plugin - Allows Flutter to communicate with a native WebView.

NOTICE We are working closely with the Flutter Team to integrate all the Community Plugin features in the Official WebView Plugin. We will try our bes

Flutter Community 1.4k Dec 22, 2022
GChat is a chatting application developed using Flutter(Dart) and firebase for 2 users. Trying to Develop an application that does not sell your data with whatsapp rolling out its privacy policy updates.

Gchat - The Chatting Application A Flutter project for chatting. I used Android Studio and you can you any editor of your choice for ex: VS Code, Inte

Sanchaksh Kaul 6 Nov 6, 2022
A Flutter package for getting app feedback from users.

App Feedback A Flutter package for getting app feedback from users. Other Flutter packages Name Stars Pub Filter List Empty widget Add Thumbnail Count

Sonu Sharma 11 Nov 13, 2022
A remote app built using Flutter that creates the users of the specific wordpress website.

wp_users A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

dev_allauddin 3 Feb 3, 2022