当前位置:网站首页>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));
});
}
边栏推荐
- Comprehensive experiment of MPLS and BGP
- MySQL报错1055解决办法:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains
- OC-NSNumber and NSValue are generally used for boxing and unboxing
- Please tell me, how to write Flink SQL and JDBC sink into mysql library and want to create an auto-incrementing primary key
- OC-NSString
- OC-范畴
- mysql操作入门(四)-----数据排序(升序、降序、多字段排序)
- 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;)
- 概率论与数理统计
- Go implements distributed locks
猜你喜欢
随机推荐
LeetCode 283. Shifting Zeros (Simple, Array)
pnpm install出现:ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies
2022-2023 十大应用开发趋势
带手续费买卖股票的最大利益[找DP的状态定义到底缺什么?]
ROS file system and related commands
我与csdn
LeetCode 2360. 图中的最长环
spark read folder data
LeetCode 2312. 卖木头块
Control 'ContentPlaceHolder1_ddlDepartment' of type 'DropDownList' must be placed inside a form tag with runat=server.
问个问题,我的Flinkcdc已经跑通了,可以监听msql的binlog了,也能发送kafk
爬虫 视频爬取工具you-get
UG NX二次开发(C#)-外部模式-导出dwg格式的文件
mysql操作入门(四)-----数据排序(升序、降序、多字段排序)
LeetCode brush questions (7)
如何保护智能家居不受黑客攻击
Splunk Filed extraction 字段截取
MySQL - slow query log
数据中心的网络安全操作规范
【CV】OpenVINO installation tutorial