CustomRecordWidget typedef
CustomRecordWidget =
Widget Function(RecordState recordState)
自定义的小部件构建
recordState
- 组件状态回调,可以根据状态来显示不同的组件
Implementation
typedef CustomRecordWidget = Widget Function(RecordState recordState);