This package will generate random names from all over the world.

Features

Generates a random name from a random country.

Getting started

To get started just add the package in to your project

Usage

Here's an example on how to use this package

import 'package:world_names/world_names.dart';

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    String name = NameGenerator.getName();
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Flutter Name Generator')),
        body: Center(child: Text(name)),
      ),
    );
  }
}


Additional information

This is an extremely simple package.