seedkit_theme 0.0.1 copy "seedkit_theme: ^0.0.1" to clipboard
seedkit_theme: ^0.0.1 copied to clipboard

SeedKit theme primitives, ThemeData presets, and theme mode state helpers.

seedkit_theme #

SeedKit theme primitives, ThemeData presets, and theme mode state helpers for Flutter applications.

Features #

  • Builds light and dark ThemeData instances with SeedKit color and text theme extensions.
  • Provides SeedKitColorTheme and SeedKitTextTheme for typed access to design tokens.
  • Includes ThemeCubit, ThemeRepository, and ThemeProvider helpers for storing and switching the selected theme mode.
  • Adds BuildContext extensions for convenient theme access.

Getting started #

Add the package to your pubspec.yaml:

dependencies:
  seedkit_theme: ^0.0.1

Then run:

flutter pub get

Usage #

Create a theme module and pass its themes to MaterialApp:

import 'package:flutter/material.dart';
import 'package:seedkit_theme/seedkit_theme.dart';

final seedKitTheme = SeedKitThemeModule(
  primaryColor: const Color(0xFF4345C3),
  fontFamily: 'Inter',
);

MaterialApp(
  theme: seedKitTheme.light,
  darkTheme: seedKitTheme.dark,
  themeMode: ThemeMode.system,
);

Access SeedKit theme extensions from a widget:

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

class TitleText extends StatelessWidget {
  const TitleText({super.key});

  @override
  Widget build(BuildContext context) {
    return Text(
      'SeedKit',
      style: context.textTheme.heading1,
    );
  }
}

Additional information #

This package is part of the SeedKit ecosystem.

0
likes
0
points
462
downloads

Publisher

unverified uploader

Weekly Downloads

SeedKit theme primitives, ThemeData presets, and theme mode state helpers.

License

unknown (license)

Dependencies

flutter, flutter_bloc, seedkit_module_storage

More

Packages that depend on seedkit_theme