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

Libraries

flutter_common_exports
Author Alex (https://github.com/AlexVincent525) Date 2020/5/26 13:32