A simple package for generating Github flavor Identicons.
There is also a out-of-box component for instant use.
GithubIdenticonGenerator: The core of this package.
GithhbIdenticon: The out-of-box component.
- add
github_identicon: ^1.0.1as a dependency in yourpubspec.yaml; - import and use it;
- maybe enjoy it I guess?
Both GithubIdenticon and GithubIdenticonGenerator have the same args:
github_identicon/lib/github_identicon_generator.dart
Lines 8 to 19 in 977e98b
For example:
import 'package:github_identicon/github_identicon.dart';
GithubIdenticon(
seed: "octocat",
size: 256
)That's it.
MIT License.