catppuccin_flutter 0.3.1 copy "catppuccin_flutter: ^0.3.1" to clipboard
catppuccin_flutter: ^0.3.1 copied to clipboard

Catppuccin theme for flutter.

Logo
Catppuccin for Flutter

Get started with example

Previews #

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

Installation #

To use Catppuccin in a Flutter project, you can follow these steps:

  1. Add Catppuccin to Your pubspec.yaml File: Open your pubspec.yaml file and add the following line under the dependencies section:
    dependencies:
        # ...
        catppuccin_flutter: ^0.3.0
        # ...
    
  2. After adding catppuccin to your pubspec.yaml file, run the following command in your terminal to fetch the packages:
    flutter pub get
    

Usage #

import 'package:catppuccin_flutter/catppuccin.dart';

Flavor flavor = ctp.latte;
Color primaryColor = flavor.mauve;
Color secondaryColor = flavor.pink;
  • ctp encapsulates all the flavor names, namely latte, frappe, macchiato and mocha.
  • Flavor typedef for record, which is a collection of all the colors available.

Contributing #

If you are looking to contribute, please read through our CONTRIBUTING.md first!

💝 Thanks to #

Copyright © 2022-present Catppuccin Org

3
likes
0
pub points
74%
popularity

Publisher

unverified uploader

Catppuccin theme for flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on catppuccin_flutter