apn_widgets library Null safety

Classes

AppBarAction
BaseTabsPage
CupertinoActivityIndicator
An iOS-style activity indicator. [...]
Dialog<T>
DialogPresenter
DialogPresenterData
DigitData
MessagePlaceholder
PageInputKeyboard
PinFieldData
PinInput
PlatformAlertDialog
PlatformAlertDialogAction
PlatformButton
PlatformChoiceAction
PlatformLoader
PlatformPullToRefresh
  • Maybe use this to improve further in the future is we want to have more control
  • over custom pull to refresh implementations on iOS and Android
  • PlatformSwitch
    PrimaryButton
    StatusbarColor
    TabBar
    TabBarItem
    TabItem
    TappableOverlay
    Used primarily for cards, ripple on Android and animated pressed color on iOS

    Extensions

    ColorExtension
    DateTimeExtension
    IterableExtension
    StringExtension

    Constants

    kDefaultButtonHeight → const double
    55.0
    kStringAppName → const String
    'NAME'
    kStringAppSettings → const String
    'SETTINGS'
    kStringCancel → const String
    'CANCEL'
    kStringConfirm → const String
    'CONFIRM'
    kStringOK → const String
    'OK'
    kTabHeight → const double
    56.0

    Functions

    showAnimatedPopup(BuildContext context, {required String title, required String message, required BoxDecoration decoration, String? animation, String? animationName, Widget? button, TextStyle? titleStyle, TextStyle? messageStyle, Duration? timerDuration, IconColor? statusbarIconColor}) Future<void>
    showSuccessPopup(BuildContext context, {required String title, required String message, required BoxDecoration decoration, TextStyle? titleStyle, TextStyle? messageStyle, IconColor? statusbarIconColor}) Future<void>

    Enums

    IconColor

    Typedefs

    DigitBuilder = Widget Function(DigitData data)
    OnWidgetSizeChange = void Function(Size? size)
    PinFieldBuilder = Widget Function(PinFieldData data)