【发布时间】:2019-07-17 07:38:30
【问题描述】:
我正在尝试在颤振中进行可折叠,但我不确定到底需要写什么,我有以下代码
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Welcome to WesterAf'),
backgroundColor: Colors.lightBlueAccent,
elevation: 0.0,
iconTheme: new IconThemeData(color: Colors.lightBlueAccent),
),
body: ExpansionTile(
title: Text('Early Bird Registation'),
// leading: Icon(Icons.local_pizza),
trailing: Icon(Icons.expand_more),
children: <Widget>[
Column(
children: <Widget>[
new Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Text('general registation'),
Text('yesllow'),
Text('mitukula vekatesh'),
new Radio(value: 0, groupValue: 23, onChanged: null),
],
)
],
),
Column(
children: <Widget>[
new Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Text('general registation'),
Text('yesllow'),
Text('venkey'),
new Radio(value: 0, groupValue: 23, onChanged: null),
],
)
],
)
],
),
);
}
【问题讨论】:
标签: flutter dart flutter-animation