fk_action_sheet library Null safety

Classes

ActionItem
小部件
BottomActionItem
底部(取消按钮)组件
ChoiceConfig
单选、多选数组
ChoiceItem
单选与多选 title 文字 titleTextStyle 文字样式 onPressed 无效 isSelected 是否选中 leftIcon 左侧图标
TopActionItem
头部组件

Functions

showActionSheet<T>({required BuildContext context, List<ActionItem>? actions, Widget? content, ChoiceConfig? choiceConfig, TopActionItem? topActionItem, BottomActionItem? bottomActionItem, Color? barrierColor, Color? actionSheetColor, bool isScrollControlled = false, bool isDismissible = true, bool enableDrag = true}) Future<T?>
通用ActionSheet