fluttering_phrases 0.1.0 copy "fluttering_phrases: ^0.1.0" to clipboard
fluttering_phrases: ^0.1.0 copied to clipboard

outdated

Generate random noun phrases with an optional token to spice up names in your application.

fluttering_phrases #

Generate random noun phrases with an optional token to spice up names in your application.

The library uses a predefined set of attributives and nouns, with some dart-related terms thrown in, but you can manually include some extra terms when generating a string.

Feel free to open a pull request to add new attributives and/or nouns or remove ill-fitting ones :)

This project has not yet had a final release, therefore the API may experience small breakages.

Usage #

A simple usage example:

import 'package:fluttering_phrases/fluttering_phrases.dart';

void main() {
  const attributives = ['awesome', 'super', 'duper', ...defaultAttributives];
  const nouns = ['parlough', 'example', 'sdk', ...defaultNouns];

  final generatedTitle = generate(
      delimiter: ' | ',
      tokenRadix: 16,
      attributives: attributives,
      nouns: nouns);

  print(generatedTitle);
}

Refer to the generate() method documentation and the tests for more information.

Feature Requests and Issues #

I'm heavily open to feedback, so let me know of any features you'd like to see or of any issues you have on the issue tracker on Github.

3
likes
0
pub points
75%
popularity

Publisher

verified publisherparlough.dev

Generate random noun phrases with an optional token to spice up names in your application.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on fluttering_phrases