Search packages, repositories and app categories

flutter_initicon cover
Package detailsv3.0.1

flutter_initicon

Initicon are used to show the initials of the name of users who do not have an avatar or profile image.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
3.4K
Likes
35
Pub points
150

Install package

flutter pub add flutter_initicon

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Flutter_Initicon is a Flutter package that generates colorful, customizable initial-based avatars from user names. It's ideal for displaying placeholder profile pictures when actual images are unavailable. The package supports multiple platforms and offers easy integration with options for styling, colors, and text formatting. It enhances user interface consistency in apps involving profiles, chats, or user lists by providing a clean, visually distinct representation of users through their initials.

Use cases

  • User profile placeholders
  • Chat interfaces
  • Team member displays
  • Onboarding screens
  • Dashboard user cards
  • Collaborative app UIs

Key features

  • Initial-based avatar generation
  • Customizable colors and styles
  • Cross-platform support
  • Easy integration with Flutter
  • Responsive design compatibility
  • Configurable text size and font

Suitable for

  • Apps with user profiles
  • Messaging and chat applications
  • Collaboration tools
  • Onboarding experiences
  • UIs requiring consistent avatars

Considerations

  • Requires name input for proper display
  • Limited to text-based visuals
  • Color scheme may need customization for branding
  • Not suitable for high-fidelity profile images
  • Performance impact negligible but consider batch rendering

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

flutter_initicon

pub package License: MIT

Initicon are used to show the initials of the name of users who do not have an avatar or profile image.

Screenshot

Examples

Getting Started

Adding package
flutter_initicon: ^2.0.0
Importing package
import 'package:flutter_initicon/flutter_initicon.dart';

Example

import 'package:flutter/material.dart';

void main() {
    return runApp(MyApp());
}

class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
        return MaterialApp(
                title: 'Flutter Demo',
                theme: ThemeData(
                    primarySwatch: Colors.blue,
                ),
                home: MyHomePage(title: 'Flutter Demo Home Page'),
            );
    }
}

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

    final String title;

    @override
    _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
    
    @override
    Widget build(BuildContext context) {
        return Scaffold(
            appBar: AppBar(
                title: Text(widget.title),
            ),
            body: Center(
                child: Initicon(
                  text: "Full Name",
                  elevation: 4
                ),
            ),
        );
    }
}

License

MIT License

Categories

Source repository

Projects using this package