Installation

Install and initialize Flutterwind in your Flutter project.

1) Add the package

Terminal
flutter pub add flutterwind_core

Or add it manually to pubspec.yaml:

dependencies:
  flutterwind_core: latest_version

Then run:

flutter pub get

2) Initialize Flutterwind

flutter pub run flutterwind init

This creates a flutterwind.yaml file at your project root.
Use this file to customize tokens like colors, spacing, breakpoints, typography, and effects.

3) Wrap your app

Import Flutterwind in main.dart:

import 'package:flutterwind_core/flutterwind.dart';

Wrap your app with FlutterWind:

void main() {
  runApp(
    FlutterWind(
      child: const MyApp(),
    ),
  );
}