cool_ui library

Properties

backButtonIndex int
getter/setter pair

Functions

connectScroll(ScrollController scroll1, ScrollController scroll2) → dynamic
runMockApp(Widget app) → dynamic
setDesignWHD(double w, double h, {double density = 3.0}) → void
配置设计稿尺寸(单位 dp or pt) w 宽 h 高 density 像素密度
showWeuiLoadingToast({required BuildContext context, Widget? message, dynamic stopEvent = true, bool? backButtonClose, Alignment? alignment}) HideCallback
showWeuiSuccessToast({required BuildContext context, Widget? message, dynamic stopEvent = false, bool? backButtonClose, Alignment? alignment, Duration? closeDuration}) Future
showWeuiToast({required BuildContext context, required Widget message, required Widget icon, bool stopEvent = false, Alignment? alignment, bool backButtonClose = false}) HideCallback

Typedefs

BoolCallback = bool Function()
GetKeyboardHeight = double Function(BuildContext context)
HideCallback = Future Function()
KeyboardBuilder = Widget Function(BuildContext context, KeyboardController controller, String? param)
PaintCallback = void Function(PaintingContext context, Offset offset, Size size)