https://github.com/birjuvachhani/adaptive_theme_fluent_ui
An extension of adaptive_theme that supports Fluent UI.
https://github.com/birjuvachhani/adaptive_theme_fluent_ui
dart flutter flutter-package flutter-ui flutter-widget theme
Last synced: 6 months ago
JSON representation
An extension of adaptive_theme that supports Fluent UI.
- Host: GitHub
- URL: https://github.com/birjuvachhani/adaptive_theme_fluent_ui
- Owner: BirjuVachhani
- License: apache-2.0
- Created: 2022-06-20T12:02:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T06:44:46.000Z (over 1 year ago)
- Last Synced: 2025-02-11T11:56:26.115Z (8 months ago)
- Topics: dart, flutter, flutter-package, flutter-ui, flutter-widget, theme
- Language: C++
- Homepage: https://pub.dev/packages/adaptive_theme_fluent_ui
- Size: 254 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Adaptive Theme For Fluent UI
This is an extension package for [Adaptive Theme](https://pub.dev/packages/adaptive_theme) that provides support
for [Fluent UI](https://pub.dev/packages/fluent_ui). For more information,
checkout [Adaptive Theme](https://pub.dev/packages/adaptive_theme) docs.## Getting Started
add following dependencies to your `pubspec.yaml`
```yaml
dependencies:
adaptive_theme:
adaptive_theme_fluent_ui:
```## How to use
```dart
import 'package:fluent_ui/fluent_ui.dart';FluentAdaptiveTheme(
light: FluentThemeData.light(),
dark: FluentThemeData.dark(),
initial: savedThemeMode ?? AdaptiveThemeMode.light,
builder: (theme, darkTheme) => FluentApp(
title: 'Fluent Adaptive Theme Demo',
theme: theme,
darkTheme: darkTheme,
home: MyHomePage(),
),
);
```Checkout [Adaptive Theme](https://pub.dev/packages/adaptive_theme) for more information.
## Contribution
You are most welcome to contribute to this project!
Please have a look
at [Contributing Guidelines](https://github.com/BirjuVachhani/adaptive_theme_fluent_ui/blob/main/CONTRIBUTING.md), before
contributing and proposing a change.#### Liked Adaptive Theme?
Show some love and support by starring the repository.
Or You can
## License
```
Copyright © 2022 Birju VachhaniLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```