【发布时间】:2021-10-27 11:49:19
【问题描述】:
我正在使用幻灯片转换将按钮从屏幕的部分外部移动到屏幕内部。
过渡完成后,按钮不可点击。最初位于屏幕内的按钮只有一小部分是可点击的。
动画效果很好。
你能帮我解决这个问题吗?
以下是我的代码摘要:
position: _offsetAnimation,
child: Row(
children: [
...,
...,
// This button initially stays outside of the screen but small part of that.
OutlinedButton(onPressed: () { print('object'); },
child: Text('Start')
),
]
【问题讨论】: