Merge branch 'patient_app_services' into 'development'

fix pharmacies list

See merge request Cloud_Solution/doctor_app_flutter!519
merge-requests/521/merge
Mohammad Aljammal 4 years ago
commit 5560955bd7

@ -23,7 +23,6 @@ class PharmaciesListScreen extends StatefulWidget {
final String url;
// In the constructor, require a item id.
PharmaciesListScreen({Key key, @required this.itemID, this.url})
: super(key: key);
@ -32,18 +31,9 @@ class PharmaciesListScreen extends StatefulWidget {
}
class _PharmaciesListState extends State<PharmaciesListScreen> {
var _data;
Helpers helpers = new Helpers();
ProjectViewModel projectsProvider;
bool _isInit = true;
//bool _isOutOfStuck = false;
@override
void didChangeDependencies() {
super.didChangeDependencies();
_isInit = false;
}
@override
Widget build(BuildContext context) {
@ -145,9 +135,9 @@ class _PharmaciesListState extends State<PharmaciesListScreen> {
? Alignment.topRight
: Alignment.topLeft,
),
Expanded(
child: Container(
Container(
width: SizeConfig.screenWidth * 0.99,
margin: EdgeInsets.only(left: 10,right: 10),
child: ListView.builder(
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
@ -155,6 +145,7 @@ class _PharmaciesListState extends State<PharmaciesListScreen> {
.pharmaciesList.length,
itemBuilder: (BuildContext context, int index) {
return RoundedContainer(
margin: EdgeInsets.only(top: 5),
child: Row(
children: <Widget>[
Expanded(
@ -228,7 +219,6 @@ class _PharmaciesListState extends State<PharmaciesListScreen> {
),
);
}),
),
)
]),
),),);

Loading…
Cancel
Save