themegen 0.1.3 copy "themegen: ^0.1.3" to clipboard
themegen: ^0.1.3 copied to clipboard

A theme generator

example/lib/example.dart

import 'package:flutter/widgets.dart';
import 'package:themegen_annotation/themegen_annotation.dart';

part 'example.g.dart';

@ThemeGen(extensions: {
  AppColors,
})
class AppTheme with _$AppTheme {}

@ThemeGenExtension()
class AppColors {
  static const Color primary = Color(0xFF000000);
  static const Color secondary = Color(0xFF000000);
}