当前位置:网站首页>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));
});
}
边栏推荐
- Splunk Filed Alias 字段改名
- Go 实现分布式锁
- Understand the Chisel language. 30. Chisel advanced communication state machine (2) - FSMD: Take Popcount as an example
- OC - NSSet (set)
- LeetCode 2360. 图中的最长环
- Inverter Phase Locking Principle and DSP Implementation
- MySQL-FlinkCDC-Hudi enters the lake in real time
- postgres groupby merge strings
- OC-NSString
- pnpm + workspace + changesets 构建你的 monorepo 工程
猜你喜欢
随机推荐
59: Chapter 5: Develop admin management services: 12: MongoDB usage scenarios; (non-core data, non-core data with a relatively large amount of data, small private files such as face photos;)
DeadLock的可视化分析
如何保护智能家居不受黑客攻击
Find the largest n files
问个问题,我的Flinkcdc已经跑通了,可以监听msql的binlog了,也能发送kafk
gdalinfo: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No su
Hack The Box - File Transfers Module详细讲解中文教程
机器学习笔记--数学库
HCIP 第十三天
2022年防止网络攻击的15个网络安全实践,你学会了吗?
Splunk Filed Alias field name
正则表达式
MySQL-索引优化和查询优化
Inverter Phase Locking Principle and DSP Implementation
LeetCode 283. 移动零(简单、数组)
OC - NSSet (set)
Fatal error compiling: 无效的目标发行版: 11
CollectionUtil:一个函数式风格的集合工具
Inverter insulation detection detection function and software implementation
替换ptmalloc,使用tcmalloc和jemalloc









