sound_fonts 0.1.0 copy "sound_fonts: ^0.1.0" to clipboard
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.

example/lib/main.dart

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 {}
0
likes
160
pub points
54%
popularity

Publisher

verified publisherlapuske.dev

Generates `Fonts` class to encapsulate all the fonts your Flutter application uses with the easy and understandable namings.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, build_runner, source_gen

More

Packages that depend on sound_fonts