1 месяц назад
История
README.md
services_aurora
Aurora platform services exposed to Flutter apps.
Features
GetStatusbarVisibilityMode
- get the current application’s status bar mode.SetStatusbarVisibilityMode
- set application’s status bar new mode.GetApplicationID
- the method returns Application ‘ID’.GetOrganizationName
- the method returns Application ‘Orgname’.GetApplicationName
- the method returns Application ‘Appname’.MaximizeWindow
- opens the application from the minimized state.MinimizeWindow
- collapses the application.GetDisplayWidth
- this method returns the width of the device screen.GetDisplayHeight
- this method returns the height of the device screen.GetOrientation
- this method returns the device orientation.onChangeOrientation
- subscribe to orientation change event.ServicesAurora.isAurora
- helps determine whether the platform is Aurora OS.
Usage
pubspec.yaml
dependencies:
services_aurora:
git:
url: https://gitlab.com/omprussia/flutter/flutter-community-plugins/services_aurora.git
ref: aurora-0.1.1
.dart
import 'package:services_aurora/services_aurora.dart';
final ServicesAurora _plugin = ServicesAurora();
_plugin.getStatusbarVisibilityMode();
_plugin.setStatusbarVisibilityMode(mode);
...
Конвейеры
0 успешных
0 с ошибкой