thema 0.1.0-dev02 thema: ^0.1.0-dev02 copied to clipboard
thema reduces the boilerplate code required to create ThemeExtension classes with macros.
// ignore_for_file: public_member_api_docs
import 'package:flutter/material.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: Scaffold(
body: Center(
child: Text('Hello World!'),
),
),
);
}
}