generateRandomTextStyles static method

void generateRandomTextStyles()

Implementation

static void generateRandomTextStyles() {
  final fonts = _getAvailableFonts();
  heading = fonts[_randomIndex(fonts.length)](fontSize: 16, fontWeight: FontWeight.bold);
  subheading = fonts[_randomIndex(fonts.length)](fontSize: 14, fontWeight: FontWeight.normal);
  label = fonts[_randomIndex(fonts.length)](fontSize: 12, fontWeight: FontWeight.w600);
}