Pakete, Repositories und App-Kategorien suchen

Cover von fluent_ui
Paketdetailsv4.17.0

fluent_ui

Implementiert die Benutzeroberfläche von Microsofts Windows in Flutter.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
25.900
Likes
3230
Pub-Punkte
160

Paket installieren

flutter pub add fluent_ui

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Fluent UI ist ein Flutter-Paket, das das Fluent Design System von Microsoft in Flutter-Anwendungen bringt und Entwicklern ermöglicht, visuell konsistente und moderne Oberflächen auf mehreren Plattformen zu erstellen. Es bietet eine Reihe anpassbarer Widgets, die den Designprinzipien von Microsoft folgen, einschließlich Transparenz, Tiefe, Bewegung und Lichteffekte. Das Paket unterstützt alle wichtigen Plattformen – Android, iOS, Web, macOS, Windows und Linux – und ist daher ideal für plattformübergreifende Anwendungen, die ein natives Windows-Erlebnis bieten möchten. Mit seiner reichen Komponentenbibliothek und der Ausrichtung auf Fluent Design verbessert es die Benutzerengagement durch glatte, reaktionsfähige Benutzeroberflächen.

Anwendungsfälle

  • Erstellen von plattformübergreifenden Anwendungen mit einem Windows-native Look
  • Erstellen moderner Benutzeroberflächen mit Fluent Design-Elementen
  • Unternehmen oder Produktivitäts-Apps mit konsistenter Markenidentität entwickeln
  • Apps für Windows-Nutzer gestalten
  • Dynamische visuelle Effekte wie Acryl-Blur und Parallaxe implementieren

Hauptmerkmale

  • Umfassende Fluent Design-Komponenten
  • Plattformübergreifende Unterstützung (Android, iOS, Web, macOS, Windows, Linux)
  • Acryl-Blurring und Bewegungseffekte
  • Anpassbare Themen und Stile
  • Reaktive und adaptive Layout-Widgets
  • Integration mit Flutter's Widget-System

Geeignet für

  • Entwickler, die sich an Windows-Nutzer richten
  • Teams, die einheitliche Benutzeroberflächen über Plattformen hinweg erstellen
  • Designer, die Fluent Design Ästhetik wünschen
  • Unternehmensanwendungsentwicklung
  • Apps, die moderne, animierte UI-Interaktionen erfordern

Hinweise

  • Kann die App-Größe aufgrund zusätzlicher Assets erhöhen
  • Erfordert Verständnis der Fluent Design-Prinzipien
  • Leistungsbeeinträchtigung bei starker Verwendung von Animationen
  • Eingeschränkte Dokumentation im Vergleich zum Kern-Flutter
  • Mögliche Inkonsistenzen auf nicht-Windows-Plattformen

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

fluent_ui


Design beautiful native Windows apps using Flutter

Unofficial implementation of Windows UI for Flutter. It's written based on the official documentation.

Read the documentation

Motivation and maintenance

Since Flutter has stable Windows support, it's necessary to have support to its UI guidelines to build apps with fidelity, the same way it has support for Material and Cupertino. See this for more info on the offical fluent ui support

See also:


This is an open-source package, which means that anyone can contribute to it. However, I, bdlukaa, am the only one actively maintaining it, so it may take some time to review and merge pull requests. If you want to support the project, you can sponsor me.

Installation

Add the package to your dependencies:

dependencies:
  fluent_ui: ^4.15.1

OR

dependencies:
  fluent_ui:
    git: https://github.com/bdlukaa/fluent_ui.git

Finally, run dart pub get to download the package.

Projects using this library should use the stable channel of Flutter


Accent color

Common controls use an accent color to convey state information. Learn more.

By default, the accent color is Colors.blue. However, you can also customize your app's accent color to reflect your brand:

FluentThemeData(
  accentColor: Colors.blue,
)

To use the system's accent color, you can use the plugin system_theme. It has support for the Android, iOS, Web, MacOS, Windows and Linux (GTK 3+) platforms.

import 'package:system_theme/system_theme.dart';

FluentThemeData(
  accentColor: AccentColor.swatch({
    'darkest': SystemTheme.accentColor.darkest,
    'darker': SystemTheme.accentColor.darker,
    'dark': SystemTheme.accentColor.dark,
    'normal': SystemTheme.accentColor.accent,
    'light': SystemTheme.accentColor.light,
    'lighter': SystemTheme.accentColor.lighter,
    'lightest': SystemTheme.accentColor.lightest,
  }),
)

Localization

FluentUI widgets currently supports out-of-the-box an wide number of languages, including:

  • Arabic (@dmakwt)
  • Bahasa Indonesia (@ekasetiawans)
  • Belarusian (@superkeka)
  • Czech (@morning4coffe-dev)
  • Croatian (@ZeroMolecule)
  • Dutch (@h3x4d3c1m4l)
  • English
  • French (@WinXaito)
  • German (@larsb24)
  • Greek (@pana-g)
  • Hebrew (@yehudakremer)
  • Hindi (@alexmercerind)
  • Hungarian (@RedyAu)
  • Italian (@patricknicolosi)
  • Japanese (@chari8)
  • Korean (@dubh3)
  • Malay (@jonsaw)
  • Nepali (@larence-cres)
  • Persian (@xmine64)
  • Polish (@madik7)
  • Portuguese (@bdlukaa)
  • Romanian (@antoniocranga)
  • Russian (@raitonoberu)
  • Simplified Chinese (@zacksleo, @rk0cc)
  • Tagalog (@Yivan000)
  • Tamil (@sarankumar-ns)
  • Traditional Chinese (@zacksleo, @rk0cc)
  • Thai (@lines-of-codes)
  • Turkish (@timurturbil)
  • Spanish (@henry2man)
  • Ukranian (@vadimbarda)
  • Urdu (@sherazahmad720)
  • Uzbek (@bobobekturdiyev)

If a language is not supported, your app may crash. You can add support for a new language or use a supported language. Learn more

Contribution

Feel free to file an issue if you find a problem or make pull requests.

All contributions are welcome :)

Contributing new localizations

In PR#216 we added support for new localizations in FluentUI Widgets.

If you want to contribute adding new localizations please follow this steps:

  • Fork the repo
  • Copy lib/l10n/intl_en.arb file into lib/l10n folder with a new language code, following this list of ISO 859-1 codes
  • Update the contents in the newly created file. Specially, please update the @locale value with the corresponding ISO code.
  • Run your project and code generation will take place or run command flutter gen-l10n
  • When you're done, make a new pull request

More about Localization in the Flutter Official Documentation

Acknowledgements

Irrespective of order, thanks to all the people below for contributing with the project. It means a lot to me :)

Kategorien

Abhängigkeiten

Abhängigkeiten 5 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden

Ranglisten