fluttering_phrases 1.0.0 fluttering_phrases: ^1.0.0 copied to clipboard
Generate random noun phrases with an optional token to spice up names in your application.
example/fluttering_phrases.dart
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);
}
copied to clipboard