katana_theme 1.1.0 copy "katana_theme: ^1.1.0" to clipboard
katana_theme: ^1.1.0 copied to clipboard

outdated

Base package for providing simple and straightforward theme definitions on Flutter.

example/lib/main.dart

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,
      ),
    );
  }
}
0
likes
0
pub points
19%
popularity

Publisher

verified publishermathru.net

Base package for providing simple and straightforward theme definitions on Flutter.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, google_fonts, katana, katana_theme_annotation

More

Packages that depend on katana_theme