fyarn 1.1.4 copy "fyarn: ^1.1.4" to clipboard
fyarn: ^1.1.4 copied to clipboard

A high-performance, context-aware CLI and Design System engine for Flutter.

example/main.dart

import 'package:flutter/material.dart';
// Note: In a real project, these would be generated files in your project.
// This example shows the structure required to initialize Fyarn.

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Fyarn UI Example',
      theme: ThemeData(
        useMaterial3: true,
        brightness: Brightness.light,
      ),
      home: const Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text(
                '๐Ÿงถ Fyarn Design System',
                style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold),
              ),
              SizedBox(height: 16),
              Text(
                'Run "fyarn init" and "fyarn add button" to start!',
                textAlign: TextAlign.center,
              ),
            ],
          ),
        ),
      ),
    );
  }
}
1
likes
150
points
158
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A high-performance, context-aware CLI and Design System engine for Flutter.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, crypto, io, mason_logger, meta, path, yaml

More

Packages that depend on fyarn