mono_kit library Null safety

Classes

AdaptiveIcon
AnimatedExpansionVisibility
AppAssetImage
AppBottomArea
Barrier
BarrierController
BarrierControllerProvider
BetterAnimatedOpacity
BetterFadeTransition
BetterPlaceholder
BetterStreamBuilder<T>
BottomPopupRoute<T>
CenteredMaxWidth
ChangedValuePair<T>
DebugPadding
ErrorDialogL10n
FadePageRoute<T>
HUD
ImagePickerErrorCodes
ItemizedText
LifeCycleObserver
LinkTextSpan
ListenerText
ListenerVisibility
ListTileSelectedBackgroundColoredBox
LoadingSwitcher
MaxWidthPaddingBuilder
ModalPageRoute<T>
OverflowDetectableText
PagingScrollController
PhotoSelectionL10n
RippleEffectButton
ScrollKeyboardShortcut
SizeListener
SnackBarL10n
SubscriptionHolder
TextScaleFactor
TilePadding
TimeoutSwitcher
UnfocusOnTap
ValueObservableBuilder<T>
VerticalCenterScrollView
WIP

Mixins

PagingScrollControllerMixin
SubscriptionHolderMixin<T>

Extensions

ChangedValuePairStream
ChangedValuePairValueStream
IterableEx
SnackBarPresenterEx
StateNotifierEx
StringEx
ThemeDataEx

Constants

kPagingScrollDuration → const Duration
const Duration(milliseconds: 200)
kPagingScrollOffset → const double
44.0

Properties

barrierProvider Provider<BarrierController>
final
buildMode BuildMode
read / write
lifecycleObserver Provider<LifeCycleObserver>
final

Functions

configureErrorWidgetBuilder({required bool isProduction, ErrorWidgetBuilder? productionBuilder}) → void
Show error unless ReleaseMode and isProduction is true. [...]
convertToHalfWidth(String text) String
darkTheme() ThemeData
lightTheme() ThemeData
showErrorDialog({required BuildContext context, dynamic error, ErrorDialogL10n l10n = const ErrorDialogL10n()}) → void
showPhotoSelectionSheet({required BuildContext context, PhotoSelectionL10n l10n = const PhotoSelectionL10n(), VoidCallback? onSettingAppOpenRequested}) Future<PickedFile?>

Enums

AppAssetImageType
BuildMode

Typedefs

AsyncChildWidgetBuilder<T>(BuildContext context, AsyncSnapshot<T> snap, Widget? child) Widget
OverflowDetector(double overflowHeight) → void
PaddingWidgetBuilder(BuildContext context, EdgeInsets padding) Widget

Exceptions / Errors

UnexpectedError
https://zenn.dev/mono/articles/082dde5601ab4de858a1