super_hero

SuperHeroBanner

  • A Flutter package to generate random super-hero names to be used as placeholder text.
  • Rather than plain old random-word pairs, you can instead fill in with a super-hero name.

Usage :

Importing the package

import 'package:super_hero/super_hero.dart';

Retrieving a random super-hero name

SuperHero.random(); // returns a random super-hero name

Pubspec Set-Up

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^0.1.2
  super_hero: ^1.0.0  # Include this line under the dependencies.

Libraries

super_hero