Skip to content
pubscout

fluttersdk_wind

1.11.1, released 2 weeks ago by fluttersdk.com

Utility‑first Tailwind‑style styling for Flutter using className strings.

WASM-readyRock solid
$ flutter pub add fluttersdk_wind
Source repository

What it does

Parses Tailwind‑like class strings into optimized Flutter widget trees. Provides W‑prefixed widgets and a theming system that supports dark mode, responsive breakpoints, and platform variants.

AI-written summary of version 1.11.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You already know Tailwind and want to reuse its syntax in Flutter
  • You need rapid UI building with built‑in dark‑mode and responsive support
  • You prefer a declarative styling layer over manual widget composition

Skip it when

  • You require fine‑grained custom animations or layout beyond Tailwind tokens
  • You need the smallest possible bundle size
  • You want strict type‑safe widget APIs without string‑based styling

Strengths

  • Familiar Tailwind syntax reduces learning curve
  • Cuts boilerplate by turning class strings into widgets
  • Built‑in dark mode, responsive breakpoints, and platform variants
  • Supports server‑driven UI via WDynmic

Weaknesses

  • Adds an abstraction layer that can hide widget details
  • Unknown or misspelled tokens are silently ignored in release builds
  • Limited to the provided token set; extending requires package changes

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Add the package, wrap the app with WindTheme, and start using W-prefixed widgets with className strings.

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

void main() => runApp(const App());

class App extends StatelessWidget {
  const App({super.key});
  @override
  Widget build(BuildContext context) {
    return WindTheme(
      data: WindThemeData(),
      builder: (c, ctrl) => MaterialApp(
        theme: ctrl.toThemeData(),
        home: const Home(),
      ),
    );
  }
}

class Home extends StatelessWidget {
  const Home({super.key});
  @override
  Widget build(BuildContext context) {
    return WDiv(
      className: 'p-6 bg-white dark:bg-gray-800 rounded-xl',
      child: WText('Hello', className: 'text-xl font-bold'),
    );
  }
}

Alternatives

Packages that do the same job and could replace fluttersdk_wind.

  • material_ui

    Standard Material widgets with full type safety and no string‑based styling

Works with

Packages commonly used together with fluttersdk_wind: ones it builds on, ones built on it, and its own family.