rounded_letter 0.0.3 rounded_letter: ^0.0.3 copied to clipboard
Cool placeholder for avatars
🌟 Rounded Letter #
Useful Flutter widget which allows you to create letter inside circle. Can be used for placeholders (for example user avatars).
🔌 Install #
dependencies:
rounded_letter: ^0.0.2
💡 Import #
import 'package:rounded_letter/rounded_letter.dart';
❓ Usage #
//minimal example, with default circle size = 40, letter font size = 20 and blue color
RoundedLetter(letter: "A");
//circle with red color and circle size = 40 and letter font size = 20
RoundedLetter.withRedCircle("B", 40, 20);
//circle with green color and circle size = 40 and letter font size = 20
RoundedLetter.withGreenCircle("C", 40, 20);
//circle with blue color and circle size = 40 and letter font size = 20
RoundedLetter.withBlueCircle("D", 40, 20);