random_names 1.0.1

Dart native js
Flutter Android iOS web

A generator of random names. The purpose of this library is to be used as an example in the book Dart 2 In Action.

random_names.dart #

Random names generator used as an example in Dart 2 In Action

How to use #

Add random_names as a dependency to your pubspec:

dependencies:
  random_names: 1.0.0

Use it in code like this:

import 'package:random_names/random_names.dart';

void main() {
  final randomNames = generateRandomNames(5);
  for (var randomName in randomNames) {
    print('Hello $randomName');
  }
}

License #

Copyright 2019 Jorge Coca

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
0
likes
100
pub points
21%
popularity

A generator of random names. The purpose of this library is to be used as an example in the book Dart 2 In Action.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

jcocaramos@gmail.com

License

Apache 2.0 (LICENSE)

More

Packages that depend on random_names