fluent_design_system 1.0.0 copy "fluent_design_system: ^1.0.0" to clipboard
fluent_design_system: ^1.0.0 copied to clipboard

Fluent, a design system for Flutter

Fluent Design System for Flutter #

A design system for Flutter, inspired by Fluent Design. This package provides a collection of reusable widgets, color schemes, typography, and styles that follow the Fluent Design guidelines. It aims to make it easier for developers to create beautiful and consistent user interfaces that feel native to the platform.

Getting started #

To use this package, add fluent_design_system as a dependency in your pubspec.yaml file. For example:

dependencies:
  fluent_design_system: ^1.0.0

Then, run flutter packages get to install the package.

Usage To use the widgets, colors, typography, or styles provided by this package, import the package in your Dart code. For example:

import 'package:fluent_design_system/fluent_design_system.dart';

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('My App'),
        backgroundColor: FluentColors.primaryColor,
      ),
      body: Column(
        children: [
          Text(
            'Welcome to my app!',
            style: FluentTextStyles.body,
          ),
          FluentButtons.primary(
            onPressed: () {
              // Do something when the button is pressed.
            },
            child: Text('Click me!'),
          ),
        ],
      ),
    );
  }
}

For more information on how to use this package, please refer to the API documentation and examples.

API documentation The API documentation for this package can be found at pub.dev.

Examples The example folder in this package contains a sample app that demonstrates how to use the widgets and styles provided by this package. You can run the app using flutter run in the root of the package.

Contributions Contributions to this package are welcome! If you find a bug or want to suggest a new feature, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and submit a pull request

License This package is licensed under the MIT License. See the LICENSE file for more information.

1
likes
120
points
11
downloads

Publisher

verified publisherseyhunakyurek.com

Weekly Downloads

Fluent, a design system for Flutter

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on fluent_design_system