Skip to content

Instantly share code, notes, and snippets.

@treva-123mutebi
Created December 23, 2022 09:16
Show Gist options
  • Select an option

  • Save treva-123mutebi/5f695a4dbf612fe5d2bfc505c778b603 to your computer and use it in GitHub Desktop.

Select an option

Save treva-123mutebi/5f695a4dbf612fe5d2bfc505c778b603 to your computer and use it in GitHub Desktop.
malevolent-waterfall-0878

malevolent-waterfall-0878

Created with <3 with dartpad.dev.

import 'dart:math';
String generateBrandName() {
final rng = Random();
final name = 'JeanAkulloCoprise';
final brandName = name[rng.nextInt(name.length)] +
name[rng.nextInt(name.length)] +
name[rng.nextInt(name.length)] +
name[rng.nextInt(name.length)] +
name[rng.nextInt(name.length)];
return brandName.substring(0, 5);
}
void main() {
final brandName = generateBrandName();
print('Welcome to ${brandName} Design Studio, where luxury meets creativity.');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment