Content
Motivation
Since Flutter has stable Desktop support, it's necessary to have a good tools with beautifull UI to build desktopn apps.
Installation
Add the package to your dependencies:
dependencies:
aargul_core: ^0.0.1
Finally, run dart pub get
to download the package.
Projects using this library should use the stable channel of Flutter
Badge
Are you using this library on your app? You can use a badge to tell others:
Add the following code to your README.md
or to your website:
<a title="Made with Aargul" href="https://pub.dev/packages/aargul_core">
<img
src="https://img.shields.io/badge/Aargul-Apps-Green?style=flat-square&color=red&labelColor=grey"
>
</a>
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 made by fluent ui author. It has support for (as of 21/01/2023) Android, Web, MacOS, Windows, Xbox and Linux (GTK 3+).
import 'package:system_theme/system_theme.dart';
FluentThemeData(
accentColor: SystemTheme.accentColor.accent.toAccentColor(),
)
Localization
FluentUI widgets currently supports out-of-the-box an wide number of languages, including:
- Arabic
- Bahasa Indonesia
- Belarusian
- Czech
- Dutch
- English
- French
- German
- Greek
- Hebrew
- Hindi
- Hungarian
- Italian
- Japanese
- Korean
- Malay
- Persian
- Polish
- Portuguese
- Romanian
- Russian
- Simplified Chinese
- Tamil
- Traditional Chinese
- Thai
- Turkish
- Spanish
- Ukranian
- Urdu
- Uzbek
If a language is not supported, your app may crash.
Exemple
import 'package:aargul_core/aargul_core.dart';
import 'package:aargul_licence/aargul_licence.dart';
import 'package:aargul_local_file/aargul_local_file.dart';
import 'screens/home.dart';
void main() {
runApp(
AargulApp(
home: HomeScreen(),
dependencies: () async {
AargulLicence(
validate: (licenceCode) => true,
);
AargulLocalFile(
extension: "ilc",
);
},
),
);
}
Aargul Plugins
- Aargul licence Manage Licences.
- Aargul local file Open and save Local files with embeded dabatase.
- Aargul crud Generate forms, Tables, Grid and Map views based on schemas.
Libraries
- aargul_core
- aargul_module_state
- sembast/io
- sembast/sembast
- Define getDatabaseFactory for a common support on Flutter and Flutter Web
- sembast/stub
- sembast/web
- utils