|
|
|
@ -51,7 +51,13 @@ class _PharmaciesListState extends State<PharmaciesListScreen> {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return AppScaffold(
|
|
|
|
return AppScaffold(
|
|
|
|
appBarTitle: "Pharmacies List",
|
|
|
|
appBarTitle: "Pharmacies List",
|
|
|
|
body: Column(children: <Widget>[
|
|
|
|
body: Container(
|
|
|
|
|
|
|
|
height: SizeConfig.screenHeight,
|
|
|
|
|
|
|
|
child: ListView(
|
|
|
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
|
|
|
scrollDirection: Axis.vertical,
|
|
|
|
|
|
|
|
physics: const AlwaysScrollableScrollPhysics(),
|
|
|
|
|
|
|
|
children: <Widget>[
|
|
|
|
RoundedContainer(
|
|
|
|
RoundedContainer(
|
|
|
|
child: !_medicineProvider.isFinished
|
|
|
|
child: !_medicineProvider.isFinished
|
|
|
|
? DrAppCircularProgressIndeicator()
|
|
|
|
? DrAppCircularProgressIndeicator()
|
|
|
|
@ -139,8 +145,8 @@ class _PharmaciesListState extends State<PharmaciesListScreen> {
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
width: SizeConfig.screenWidth * 0.99,
|
|
|
|
width: SizeConfig.screenWidth * 0.99,
|
|
|
|
child: ListView.builder(
|
|
|
|
child: ListView.builder(
|
|
|
|
scrollDirection: Axis.vertical,
|
|
|
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
|
|
|
physics: const NeverScrollableScrollPhysics() ,
|
|
|
|
itemCount: _data == null ? 0 : _data.length,
|
|
|
|
itemCount: _data == null ? 0 : _data.length,
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
return RoundedContainer(
|
|
|
|
return RoundedContainer(
|
|
|
|
@ -210,7 +216,8 @@ class _PharmaciesListState extends State<PharmaciesListScreen> {
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
]));
|
|
|
|
]),
|
|
|
|
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Future<bool> pharmaciesList() async {
|
|
|
|
Future<bool> pharmaciesList() async {
|
|
|
|
|