GitHubIdenticonGenerator constructor

GitHubIdenticonGenerator({
  1. required String seed,
  2. required double size,
  3. bool showGrid = false,
  4. Color? color,
})

Creates a GitHub identicon generator

seed : Unique identifier for the avatar size : Output image size in pixels showGrid : Whether to display the 5x5 grid lines (default: false) color : Optional color for the identicon. If it's null, color is generated from hash.

Implementation

GitHubIdenticonGenerator({
  required this.seed,
  required this.size,
  this.showGrid = false,
  this.color,
});