flutcn_ui 1.3.1 copy "flutcn_ui: ^1.3.1" to clipboard
flutcn_ui: ^1.3.1 copied to clipboard

A UI component library for Flutter inspired by shadcn/ui, providing modular and customizable widgets.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'themes/app_theme.dart';
import 'home.dart';
import 'theme_notifier.dart';

final themeNotifier = ThemeNotifier();

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return ValueListenableBuilder<ThemeMode>(
      valueListenable: themeNotifier,
      builder: (context, themeMode, child) {
        return MaterialApp(
          title: 'Flutcn UI Showcase',
          debugShowCheckedModeBanner: false,
          theme: FlutcnTheme.lightTheme(),
          darkTheme: FlutcnTheme.darkTheme(),
          themeMode: themeMode,
          home: const HomePage(),
        );
      },
    );
  }
}
5
likes
0
points
528
downloads

Publisher

unverified uploader

Weekly Downloads

A UI component library for Flutter inspired by shadcn/ui, providing modular and customizable widgets.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, cli_spin, crypto, dartz, equatable, get_it, http, io, path, prompts

More

Packages that depend on flutcn_ui