flutter_initicon 3.0.1 copy "flutter_initicon: ^3.0.1" to clipboard
flutter_initicon: ^3.0.1 copied to clipboard

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

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
copied to clipboard

Importing package #

import 'package:flutter_initicon/flutter_initicon.dart';
copied to clipboard

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
                ),
            ),
        );
    }
}
copied to clipboard

License #

MIT License

34
likes
150
points
2.76k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.22 - 2025.04.06

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_initicon