flutter_gruvbox_theme 0.1.0+2 copy "flutter_gruvbox_theme: ^0.1.0+2" to clipboard
flutter_gruvbox_theme: ^0.1.0+2 copied to clipboard

Retro groove theme for Flutter, based on the Gruvbox color scheme.

Gruvbox Theme for Flutter #

style: very good analysis License: MIT

Retro groove theme for Flutter, based on the Gruvbox color scheme.

Light theme example      Dark theme example

Initially derived from flutter_nord_theme. Copyright (c) 2021 Firefnix

Getting started #

To use this package, first add flutter_gruvbox_theme as a dependency in your pubspec.yaml file:

dependencies:
  flutter_gruvbox_theme: <latest version>

Usage #

Once the package is installed, make sure to import the package in the file that you are going to need it:

import 'package:flutter_gruvbox_theme/flutter_gruvbox_theme.dart';

And then you can pass GruvboxTheme.dark and GruvboxTheme.light as the ThemeData to your MaterialApp.

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      themeMode: ThemeMode.light, // Or [ThemeMode.dark]
      theme: GruvboxTheme.light(),
      darkTheme: GruvboxTheme.dark(),
      home: Scaffold(
        appBar: AppBar(title: const Text('Title')),
        body: const Center(child: Text('Example text.')),
      ),
    );
  }
}

License #

This package is licensed under the permissive MIT License. See the LICENSE file in this repository to get a full copy.

1
likes
140
pub points
39%
popularity
screenshot

Publisher

verified publisheragro-nexus.com

Retro groove theme for Flutter, based on the Gruvbox color scheme.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

pablo.jimpas.me
www.agro-nexus.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_gruvbox_theme