当前位置:网站首页>flutter 自己写一个组件
flutter 自己写一个组件
2022-08-02 07:18:00 【氤氲息】

其实这个也是一个类来的
又或者说,弹窗里面添加一个页面
///弹出留言窗口
showChatDialog(context, int state, int index,
{
required ChatDialogModel chatDialogModel}) {
showModalBottomSheet(
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(24), topRight: Radius.circular(24))),
isScrollControlled: true,
enableDrag: false,
backgroundColor: CommonColors.getColorF5F8F5,
context: context,
builder: (context) =>
ChatDialog(state, index, chatDialogModel: chatDialogModel))//ChatDialog就是一个页面来的
.then((value) {
EventBusUtil.fire(
OnCloseBottleRefresh(CloudCustomDataBean.TYPE_DRIFT_BOTTLE));
});
}
边栏推荐
- A Preliminary Study on the Basic Principles of Formal Methods
- LeetCode 283. 移动零(简单、数组)
- ROS file system and related commands
- MySQL-执行流程+缓存+存储引擎
- The best interests of buying and selling stocks with handling fees [What is missing in the definition of DP status?]
- 责任链模式(Chain Of Responsibility)
- DeadLock的可视化分析
- 问个问题,我的Flinkcdc已经跑通了,可以监听msql的binlog了,也能发送kafk
- OC-NSArray
- Splunk Field Caculated 计算字段
猜你喜欢

pnpm install出现:ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies

有点奇怪!访问目的网址,主机能容器却不行

MySQL-FlinkCDC-Hudi enters the lake in real time

OSPF 综合实验

Agile, DevOps and Embedded Systems Testing

(2022 Niu Ke Duo School 5) D-Birds in the tree (tree DP)

Probability Theory and Mathematical Statistics

WebForm DropDownList分别绑定年月

Splunk Filed Alias 字段改名

HCIP 第十三天
随机推荐
OC - NSSet (set)
Fatal error compiling: 无效的目标发行版: 11
PanGu-Coder: A function-level code generation model
Thesis understanding: "Cross-Scale Residual Network: A GeneralFramework for Image Super-Resolution, Denoising, and "
OC-NSSet(集合)
MySQL - based
Splunk Filed extraction 字段截取
MySQL - locking mechanism
gdalinfo: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No su
OC-NSString
MySQL-慢查询日志
FormData上传二进制文件、对象、对象数组
MySQL-基础
数据中心的网络安全操作规范
MySQL error 1055 solution: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains
MPLS和BGP的综合实验
mysql操作入门(四)-----数据排序(升序、降序、多字段排序)
LeetCode brush questions (7)
LeetCode 2360. 图中的最长环
我与csdn