Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexv525/flutter_common_exports
Common exportation with some constants and utils.
https://github.com/alexv525/flutter_common_exports
Last synced: 24 days ago
JSON representation
Common exportation with some constants and utils.
- Host: GitHub
- URL: https://github.com/alexv525/flutter_common_exports
- Owner: AlexV525
- License: mit
- Created: 2020-05-26T05:27:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-07T06:58:46.000Z (over 4 years ago)
- Last Synced: 2025-01-03T23:16:30.494Z (29 days ago)
- Language: Dart
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_common_exports
A Flutter package includes some common exportation of constants and utils.
## Requirement
Flutter SDK: `>=1.12.13`
## Contents
* `Cookie` from `dart:io`.
* dartx
* `DateFormat` from `intl`.
* OKToast.
* Constants:
* `lessThanOne`
* `lessThanZero`
* `moreThanOne`
* `moreThanZero`
* `betweenZeroAndOne`
* `currentTime`
* `currentTimeStamp`
* `localizationsDelegates`
* `supportedLocales`
* Extensions:
* `BrightnessExtension`:
* `brightness.isDark`
* `brightness.isLight`
* `BuildContextExtension`:
* `context.mediaQuery`
* `context.themeData`
* `ColorExtension`:
* `color.swatch`
* `color.getMaterialColorValues`
* Screens:
* `MediaQueryData`
* `fixedFontSize`
* `scale` (devicePixelRatio)
* `width`
* `widthPixels`
* `height`
* `heightPixels`
* `aspectRatio`
* `textScaleFactor`
* `navigationBarHeight`
* `topSafeHeight`
* `bottomSafeHeight`
* `safeHeight`
* `updateStatusBarStyle`
* Utils:
* Input utils:
* `insertText`
* `showKeyboard`
* `hideKeyboard`
* `realDebugPrint`
* `doubleBackExit`
* `doNothing`
* `checkPermissions`
* Widgets:
* `emptyCounterBuilder`
* `maxBorderRadius`
* `PlatformProgressIndicator`
* `NoSplashFactory`
* `NoGlowScrollBehavior`