import 'package:diplomaticquarterapp/core/model/er/PatientER.dart'; import 'package:diplomaticquarterapp/core/viewModels/er/am_request_view_model.dart'; import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; class PickupLocation extends StatefulWidget { final Function changeCurrentTab; final PatientER patientER; PickupLocation({Key key, this.changeCurrentTab, this.patientER, this.amRequestViewModel}); final AmRequestViewModel amRequestViewModel; @override _PickupLocationState createState() => _PickupLocationState(); } class _PickupLocationState extends State { @override Widget build(BuildContext context) { return Column( children: [ Texts('PickupLocation 2'), SizedBox(height: 45,), Container( padding: EdgeInsets.all(15), width: double.maxFinite, height: 76, child:SecondaryButton( color: Colors.grey[800], textColor: Colors.white, onTap: ()=> widget.changeCurrentTab(2), label: 'Next', ), ) ], ); } }