Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new GestureDetector(
- onTap: () {
- var route = new MaterialPageRoute(builder: (BuildContext context) => new FilterScreen(areaList));
- Navigator.of(context).push(route);
- },
- child: new Container(
- margin: EdgeInsets.all(10.0),
- child: new Image.asset(
- "images/ic_filter.png",
- height: 30.0,
- width: 30.0,
- )),
- ),
- new Expanded(
- child: new MaterialButton(
- onPressed: () {
- String areaIds = "";
- for(int i=0;i<areaList.length;i++){
- if(areaList[i].isChecked){
- areaIds += "${areaList[i].AreaMasterId},";
- }
- }
- // Constants.areaMasterIds = areaIds;
- // Constants.isLoadingAllStore = true;
- var route = new MaterialPageRoute(builder: (BuildContext context) => new AllStoreTabScreen(false));
- Navigator.of(context).pushReplacement(route);
- },
- color: Colors.myColor,
- child: new Container(
- padding: EdgeInsets.all(15.0),
- child: new Text(
- "APPLY",
- style: Theme
- .of(context)
- .textTheme
- .body1
- .apply(color: Colors.white),
- ),
- ),
- ),
- ),
Add Comment
Please, Sign In to add comment