ducafe_ui_core library
Enums
Mixins
Extensions
- BorderRadiusExtension on BorderRadius
- BoxConstraintsExtension on BoxConstraints
- ContextExtensions on BuildContext
- 上下文扩展
- DevTools on Object
- 开发工具
- DurationExtensions on num
- 返回时间差 Duration 的扩展
- EdgeInsetsExtension on EdgeInsets
- FutureDuration on Duration
- Duration 扩展
- IconExtensions on T
- Icon 扩展,提供复制和修改 Icon 属性的方法
-
ListExtensions
on List<
Widget> - MediaQueryExtensions on BuildContext
- 媒体查询各种尺寸信息, 返回 sizes 对象
-
Navigator 扩展
context.navigator.push(SomePage())
- PaddingExtensions on num
- 数字转 EdgeInsets 扩展
- PlatformExtensions on BuildContext
- 当前系统
- RadiusExtension on Radius
- ScreenUtilExtensions on num
- Screen Util 工具扩展
- SizedBoxExtensions on num
- 数字转 SizedBox 扩展
- StringExtensions on String
- String 字符串扩展
- TextExtensions on T
- Text 文本扩展
- TextSpanExtensions on T
- TextSpan 文本扩展
- ThemeColorsExtensions on BuildContext
-
theme 主题颜色扩展
context.colors.primary
可以这样使用 - ThemeModeExt on BuildContext
- Theme mode extensions
- ThemesExtensions on BuildContext
-
theme 主题访问扩展
context.themes.icon
- WidgetExtensions on Widget
- Widget 扩展
Properties
-
flutterWidgets
→ HashSet<
String> -
final
Typedefs
- FontSizeResolver = double Function(num fontSize, ScreenUtil instance)
- GestureOnTapChangeCallback = void Function(bool tapState)
- RebuildFactor = bool Function(MediaQueryData old, MediaQueryData data)
- ScreenUtilInitBuilder = Widget Function(BuildContext context, Widget? child)