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:

  flutter_gruvbox_theme: <latest version>


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});

  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.')),


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