helpers library

Classes

ExBuilder<T>
  • 简化的 ExValueBuilder
  • Simplified ExValueBuilder
  • ExEnum
  • enum解析工具
  • tools of convert enum
  • GetSize
    SafeValueNotifier<T>
  • ValueNotifier安全扩展
  • Safe ValueNotifier extension
  • Mixins

    SafeState<T extends StatefulWidget>
    State安全扩展

    Extensions

    ExList on List<T>
  • List扩展
  • list extension
  • Functions

    asMap(dynamic value) Map<String, dynamic>
    转换为 Map<String, dynamic> Convert to Map<String, dynamic>
    asNullT<T>(dynamic value) → T?
    自动转换为可空类型 Auto convert to nullable type
    asT<T>(dynamic value, [T? def]) → T
    自动转换类型 Auto convert type

    Typedefs

    OnWidgetSizeChange = void Function(Size size)