提交 3fb1d6d0 authored 作者: yueweilu's avatar yueweilu

取消事件

上级 6970b329
...@@ -29,12 +29,15 @@ class _ReadCategoryPageState extends State<ReadCategoryPage> { ...@@ -29,12 +29,15 @@ class _ReadCategoryPageState extends State<ReadCategoryPage> {
body: Column( body: Column(
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: [ children: [
Container( GestureDetector(
margin: EdgeInsets.only(left: 15.w,right: 15.w,top: 15.w,bottom: 15.w), onTap: (){
child: GestureDetector( widget.onTap!();
onTap:widget.onTap, },
child: Image.asset('assets/images/close.png'), child: Container(
) // color: Colors.red,
padding: EdgeInsets.only(left: 15.w,right: 15.w,top: 15.w,bottom: 15.w),
child: Image.asset('assets/images/close.png')
),
), ),
Row( Row(
children: [ children: [
......
...@@ -30,12 +30,15 @@ class _ReadDiscussPageState extends State<ReadDiscussPage> { ...@@ -30,12 +30,15 @@ class _ReadDiscussPageState extends State<ReadDiscussPage> {
body: Column( body: Column(
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: [ children: [
Container( GestureDetector(
margin: EdgeInsets.only(left: 15.w,right: 15.w,top: 15.w,bottom: 15.w), onTap: (){
child: GestureDetector( widget.onTap!();
onTap: widget.onTap, },
child: Container(
// color: Colors.red,
padding: EdgeInsets.only(left: 15.w,right: 15.w,top: 15.w,bottom: 15.w),
child: Image.asset('assets/images/close.png') child: Image.asset('assets/images/close.png')
) ),
), ),
Row( Row(
children: [ children: [
......
...@@ -28,12 +28,15 @@ class _ReadNotePageState extends State<ReadNotePage> { ...@@ -28,12 +28,15 @@ class _ReadNotePageState extends State<ReadNotePage> {
builder:(controller) =>Column( builder:(controller) =>Column(
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: [ children: [
Container( GestureDetector(
margin: EdgeInsets.only(left: 15.w,right: 15.w,top: 15.w,bottom: 15.w), onTap: (){
child: GestureDetector( widget.onTap!();
onTap: widget.onTap, },
child: Container(
// color: Colors.red,
padding: EdgeInsets.only(left: 15.w,right: 15.w,top: 15.w,bottom: 15.w),
child: Image.asset('assets/images/close.png') child: Image.asset('assets/images/close.png')
) ),
), ),
Row( Row(
children: [ children: [
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论