@@ -12,7 +12,7 @@ class Index extends StatefulWidget {
1212 _IndexState createState () => _IndexState (model: this .model);
1313}
1414
15- class _IndexState extends State <Index > {
15+ class _IndexState extends State <Index > {
1616 final MainStateModel model;
1717 List _mapList = [];
1818 int _isExpandedIndex = - 1 ;
@@ -31,7 +31,7 @@ class _IndexState extends State<Index> {
3131 return ExpansionPanel (
3232 headerBuilder: (context, flag) {
3333 return Container (
34- padding: EdgeInsets .all (10 ),
34+ // padding: EdgeInsets.all(10),
3535 child: ListTile (
3636 leading: Icon (
3737 IconData (
@@ -48,15 +48,15 @@ class _IndexState extends State<Index> {
4848 decoration: BoxDecoration (
4949 color: Color (AppTheme .thirdColor),
5050 ),
51- padding: EdgeInsets .all (10 ),
51+ // padding: EdgeInsets.all(10),
5252 child: GridView .count (
5353 shrinkWrap: true ,
5454 physics: ScrollPhysics (),
5555 crossAxisCount: 3 ,
56- crossAxisSpacing: 10 ,
57- mainAxisSpacing: 10 ,
56+ // crossAxisSpacing: 10,
57+ // mainAxisSpacing: 10,
5858 children: List .generate (_tmpWidgetList.length, (index) {
59- return RaisedButton (
59+ return FlatButton (
6060 color: Color (AppTheme .secondColor),
6161 splashColor: Color (AppTheme .mainColor),
6262 child: Column (
@@ -95,8 +95,9 @@ class _IndexState extends State<Index> {
9595 Widget build (BuildContext context) {
9696 return SingleChildScrollView (
9797 physics: BouncingScrollPhysics (),
98- // padding: EdgeInsets.all(10),
98+ // padding: EdgeInsets.all(10),
9999 child: ExpansionPanelList (
100+ animationDuration: Duration (milliseconds: 800 ),
100101 children: List .generate (
101102 _mapList.length,
102103 (_index) {
0 commit comments