Merge branch 'patient_app_services' into 'development'
Patient app services See merge request Cloud_Solution/doctor_app_flutter!411merge-requests/412/merge
commit
f48c577f7d
@ -0,0 +1,26 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class ShowImageDialog extends StatelessWidget {
|
||||
final String imageUrl;
|
||||
|
||||
const ShowImageDialog({Key key, this.imageUrl}) : super(key: key);
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SimpleDialog(
|
||||
children: [
|
||||
Container(
|
||||
width: 340,
|
||||
height: 340,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(12)
|
||||
),
|
||||
child: Image.network(
|
||||
imageUrl,
|
||||
fit: BoxFit.fill,
|
||||
),
|
||||
)
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue