katana_theme 1.1.1 katana_theme: ^1.1.1 copied to clipboard
Base package for providing simple and straightforward theme definitions on Flutter.
import 'package:katana_theme/katana_theme.dart';
import 'package:flutter/material.dart';
part 'main.theme.dart';
class AppTheme extends AppThemeBase {
@override
// TODO: implement asset
AssetThemeBase get asset => throw UnimplementedError();
@override
// TODO: implement color
ColorThemeBase get color => throw UnimplementedError();
@override
// TODO: implement text
TextThemeBase get text => throw UnimplementedError();
@override
// TODO: implement widget
WidgetThemeBase get widget => throw UnimplementedError();
}
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: const ListenablePage(),
title: "Flutter Demo",
theme: ThemeData(
primarySwatch: Colors.blue,
),
);
}
}