File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "displayName" : " XML Layout for Flutter" ,
44 "description" : " XML Layout for Flutter. Brings Angular's style to Flutter!" ,
55 "publisher" : " WaseemDev" ,
6- "version" : " 0.0.32 " ,
6+ "version" : " 0.0.33 " ,
77 "icon" : " images/logo.png" ,
88 "repository" : {
99 "type" : " github" ,
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ class ${widgetName} extends StatelessWidget${mixinsCode} {
209209 ...( hasController ? rootWidget . params . filter ( a => ! ! a . name ) . map ( a => `ctrl._${ a . name } = widget.${ a . name } ;` ) : [ ] ) ,
210210 ...controllers . filter ( a => ! a . isPrivate && ! a . skipGenerate ) . map ( a => `${ hasController ? `ctrl._${ a . name } = ` : '' } ${ a . name } = ${ a . value ? a . value : `new ${ a . type } ()` } ;` ) ,
211211 ...rootWidget . vars . map ( a => `${ hasController ? `ctrl._${ a . name } = ` : '' } ${ a . name } = ${ a . value } ;` ) ,
212- ...( hasController ? [ `WidgetsBinding.instance.addPostFrameCallback((_) => mounted ? ctrl.afterFirstBuild(context) : null);` ] : [ ] )
212+ ...( hasController ? [ `WidgetsBinding.instance? .addPostFrameCallback((_) => mounted ? ctrl.afterFirstBuild(context) : null);` ] : [ ] )
213213 ] ;
214214 const superParams = rootWidget . params
215215 . filter ( a => a . superParamName )
You can’t perform that action at this time.
0 commit comments