sound_fonts 0.1.0 sound_fonts: ^0.1.0 copied to clipboard
Generates `Fonts` class to encapsulate all the fonts your Flutter application uses with the easy and understandable namings.
import 'package:flutter/rendering.dart';
import 'package:sound_fonts/sound_fonts.dart';
part 'main.g.dart';
@SoundFonts({
'largest': {
'bold': ['onBackground', 'primary'],
'regular': ['onBackground', 'primary'],
},
'large': {
'bold': ['onBackground', 'primary', 'secondary'],
'regular': ['onBackground', 'onPrimary'],
},
})
class AnnotatedFonts {}