ecp_flow_app library
Classes
- ApprovalEmpty
- ApprovalMethod
- ApprovalSetting
- Approver
- BusinessData
- ConfirmBtn
- @author lzj
- Data
- DeliveryBtn
- 转交按钮
- EcpFlowAction
- @author lzj
- EcpFlowApprovalMemberType
- @author lzj
-
EcpFlowEngine<
T extends EcpFlowRecord> - EcpFlowMapper
- @author lzj
- EcpFlowNodeKey
- @author lzj
- EcpFlowRecord
- @author lzj
- EcpFlowStatus
- @author lzj
- FlowBtn
- @author lzj
- FlowBtnConfig
- @author lzj
- FlowEngine
- @author lzj
- FlowEngineState
- FlowMapper
- @author lzj
- FlowNode
- @author lzj
- GraphData
- Members
- MemberType
- Node
- Permission
- RefuseBtn
- @author lzj
- RollbackBtn
- @author lzj
- RollbackNodeEntity
- RollbackType
- UnknownBtn
- @author lzj
- WithdrawBtn
- @author lzj
Extensions
- EcpFlowActionExt on num
- @author lzj
-
FlowBtnConfigSetExt
on Set<
FlowBtnConfig> - @author lzj
- FlowEngineStateExt on FlowEngineState
- @author lzj
- NodeExt on Node
- @author lzj
- PathExt on String
- @author lzj
Constants
- ecpMapper → const EcpFlowMapper
Properties
- digitalOnly ↔ RegExp
-
数字
getter/setter pair
- flowCustomConditionPrefix ↔ String
-
自定义条件前缀
getter/setter pair
Functions
-
checkOpinion(
{String? tips}) → Future< bool?> - 检查意见
-
commentField(
TextEditingController controller, int type, {String? hint}) → Widget - @author lzj
-
commentPickerItem(
BuildContext context, String title, ImageProvider< Object> img, Color color, {Widget? icon}) → Widget - 评论带选择器的item样式
-
createFlowBtn(
BuildContext context, String label, {BoxDecoration? decoration, TextStyle? style, EdgeInsets? padding}) → Widget -
forwardComment(
BuildContext context, {required FlowBtnConfig config, required CommentAction action, required int commonOpinionType, required bool opinionRequired}) → Future - @author lzj
-
predict(
FlowEngineState? state, FlowBtnConfig config) → bool -
submitBtn(
BuildContext context, String text, {Function? onClick}) → Widget - 提交按钮
Typedefs
- FlowSort = int Function(FlowBtnConfig a, FlowBtnConfig b)
- 按钮位置排序
- FlowSuccessCallback = dynamic Function(FlowEngineState state, FlowBtnConfig config)
- 流程处理成功回调
- ItemBuilder = Widget? Function(BuildContext context, FlowBtnConfig config, int index)
- 当按钮小于FlowEngine.overflowNum时,各个按钮的绘制逻辑
-
ItemClickPredict
= Future<
bool?> Function(FlowBtnConfig? config) - ItemExpandedPredict = int Function(FlowBtnConfig config, int index)
- ShrinkItemBuilder = Widget? Function(BuildContext context, FlowBtnConfig config, int index)
- 当按钮大于FlowEngine.overflowNum时,列表按钮的绘制逻辑