【发布时间】:2021-04-26 20:30:55
【问题描述】:
我有一排文字写着terms of use 和一个按钮。我想显示一些数据,但也许我没有使用正确的关键字。我得到的只是如何更改按钮单击时的文本。
无论如何,我应该怎么做才能让用户在点击按钮时看到使用条款?
Container(
padding: EdgeInsets.only(top: 20),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Text(
"Terms of Use",
style: TextStyle(
color: Color(0xff18172b),
fontSize: 18,
fontFamily: "Poppins",
fontWeight: FontWeight.w400,
),
),
IconButton(
iconSize: 18,
onPressed: () {},
icon: Icon(Icons.arrow_forward_ios))
],
),
),
【问题讨论】:
标签: flutter