File tree Expand file tree Collapse file tree 1 file changed +2
-36
lines changed Expand file tree Collapse file tree 1 file changed +2
-36
lines changed Original file line number Diff line number Diff line change @@ -128,41 +128,7 @@ class _IndexState extends State<Index> {
128128
129129 @override
130130 Widget build (BuildContext context) {
131- return Scaffold (
132- appBar: AppBar (
133- title: Text (AppLocalizations .$t ('nav_title_1' )),
134- elevation: 0 ,
135- centerTitle: true ,
136- ),
137- body: ListView .builder (
138- shrinkWrap: true ,
139- itemCount: _getList ().length * 2 ,
140- itemBuilder: (context, index) {
141- double _index = index / 2 ;
142- if (index % 2 == 0 ) {
143- dynamic item = _getList ()[_index.toInt ()];
144- return ListTile (
145- onTap: () {
146- actionsEvent (item['index' ]);
147- },
148- leading: Icon (
149- IconData (
150- item['icon' ],
151- fontFamily: 'MaterialIcons' ,
152- matchTextDirection: true ,
153- ),
154- ),
155- title: Text (item['name' ]),
156- );
157- } else {
158- return Divider (
159- color: Color (AppTheme .lineColor),
160- );
161- }
162- },
163- ),
164- );
165- /* return SingleChildScrollView(
131+ return SingleChildScrollView (
166132 child: Column (
167133 children: < Widget > [
168134 Container (
@@ -235,7 +201,7 @@ class _IndexState extends State<Index> {
235201 ),
236202 ],
237203 ),
238- ); */
204+ );
239205 }
240206}
241207
You can’t perform that action at this time.
0 commit comments