first step form home screen
parent
11956abc8c
commit
d553e757c2
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@ -0,0 +1,6 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="54.029" height="58" viewBox="0 0 54.029 58">
|
||||||
|
<g id="doctor_2_" data-name="doctor (2)" transform="translate(-4.985 -3)">
|
||||||
|
<path id="Path_57" data-name="Path 57" d="M49.73,40,47,39.43c1.51,3,.89,5.33,1,7.71a4,4,0,1,1-2,0c-.2-2.18.71-5.24-1.72-8.24l-6.36-1.23a13.83,13.83,0,0,1-11.84,0L19.72,38.9A7.68,7.68,0,0,0,18,43.77v.33a5.21,5.21,0,0,1,4.11,4.16l.95,5.2a3,3,0,0,1-.65,2.46c-1.19,1.44-2.83,1-3.41,1.08V55c.6-.07,1.42.21,1.87-.36a1,1,0,0,0,.22-.82l-.95-5.2a3.19,3.19,0,0,0-6.28,0l-.95,5.2a1,1,0,0,0,1,1.18H15v2H13.9a3.006,3.006,0,0,1-2.96-3.54l1-5.2A5.21,5.21,0,0,1,16,44.1v-.33a9.61,9.61,0,0,1,1-4.34L14.27,40A9.05,9.05,0,0,0,7.1,47.32L5,59.83A1,1,0,0,0,6,61H27.42a1,1,0,0,0,1-1.16l-3-18.57,5.83,4.32a1,1,0,0,0,1.18,0l6.24-4.42-3,18.65a1,1,0,0,0,1,1.16H58a1,1,0,0,0,1-1.17L56.9,47.32A9.05,9.05,0,0,0,49.73,40Z" fill="#ec1c2b"/>
|
||||||
|
<path id="Path_58" data-name="Path 58" d="M39.77,34.13A11.94,11.94,0,0,0,44,25.9,5,5,0,0,0,46,17c.34-1.32,1.76-7.65-1.32-10.73-2.3-2.27-5.8-1.78-7.3-1.42C36.66,4.09,35.1,3,32,3,27.65,3,20.38,3,18.11,7.55c-1.79,3.57-1,8.35-.7,10a5,5,0,0,0,2.64,8.36,11.94,11.94,0,0,0,4.18,8.23,9.74,9.74,0,0,0-7.2,5.3l2.69-.53A7.73,7.73,0,0,1,25.77,36h1.45a12,12,0,0,0,9.56,0h1.45a7.73,7.73,0,0,1,6.05,2.9l2.69.52A9.77,9.77,0,0,0,39.77,34.13ZM44,18.35l.25-.08A3,3,0,0,1,44,23.82ZM20,23.82a3,3,0,0,1-1-5.07l1-.34ZM32,35A10,10,0,0,1,22,25V20a41.82,41.82,0,0,0,8.24-1,11.86,11.86,0,0,0,5.47-3.11c1.56,2.55,4.81,3.78,6.29,4.23V25A10,10,0,0,1,32,35Z" fill="#ec1c2b"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,5 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="39.381" height="52.784" viewBox="0 0 39.381 52.784">
|
||||||
|
<g id="Nurse" transform="translate(-5.723 -2.226)">
|
||||||
|
<path id="Path_59" data-name="Path 59" d="M45.087,45.928V27.887a19.741,19.741,0,0,0-6.162-14.293L40.6,9.762a1.916,1.916,0,0,0-.529-2.24,25.573,25.573,0,0,0-15.1-5.3,23.107,23.107,0,0,0-14.425,5.26A1.914,1.914,0,0,0,9.918,9.64l1.566,4.4A19.736,19.736,0,0,0,5.746,27.889V45.93S4.893,54.321,13.537,55c0,0,5.061.341,7.6-4.018A13.249,13.249,0,0,1,12.018,38.44l-.084-5.787a1.917,1.917,0,0,1,.416-3.811c6,.657,10.4-.165,12.745-2.366a5.938,5.938,0,0,0,1.878-4.354,1.943,1.943,0,0,1,2.037-1.83,1.881,1.881,0,0,1,1.788,1.83c0,.029.218,3.652,2.562,5.651a6.749,6.749,0,0,0,5.285,1.3,1.912,1.912,0,0,1,2.108,1.7,1.949,1.949,0,0,1-2.23,2.137l.031,5.513a13.242,13.242,0,0,1-8.9,12.5c2.577,4.606,7.927,4.055,7.927,4.055,8.24-1.1,7.511-9.048,7.511-9.048ZM31.294,11.995a.869.869,0,0,1-.87.868H27.564v2.832a.87.87,0,0,1-.868.87h-2.56a.87.87,0,0,1-.868-.87V12.863H20.407a.869.869,0,0,1-.87-.868V9.475a.871.871,0,0,1,.87-.87h2.861V5.779a.869.869,0,0,1,.868-.87H26.7a.869.869,0,0,1,.868.87V8.6h2.861a.871.871,0,0,1,.87.87Z" transform="translate(0 0)" fill="#1f8d24"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,47 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_svg/flutter_svg.dart';
|
||||||
|
import 'package:provider/provider.dart';
|
||||||
|
import 'package:queuing_system/core/base/project_view_model.dart';
|
||||||
|
import 'package:queuing_system/core/config/config.dart';
|
||||||
|
import 'package:queuing_system/core/config/size_config.dart';
|
||||||
|
import 'package:queuing_system/widget/data_display/app_texts_widget.dart';
|
||||||
|
|
||||||
|
class AppHeader extends StatelessWidget with PreferredSizeWidget {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
|
||||||
|
return Container(
|
||||||
|
padding: const EdgeInsets.only(
|
||||||
|
left: 0,
|
||||||
|
right: 5,
|
||||||
|
bottom: 5,
|
||||||
|
),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: AppGlobal.appRedColor
|
||||||
|
,
|
||||||
|
border: const Border(bottom: BorderSide(color: Color(0xFFEFEFEF)))),
|
||||||
|
child: Container(
|
||||||
|
padding: const EdgeInsets.only(left: 30, right: 50, bottom: 10,),
|
||||||
|
margin: EdgeInsets.only(top: SizeConfig.isHeightVeryShort ? 30 : 50),
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
AppText(
|
||||||
|
" Current Serving",
|
||||||
|
letterSpacing: -2.48,
|
||||||
|
color: Colors.white,
|
||||||
|
|
||||||
|
),
|
||||||
|
SvgPicture.asset( "assets/images/hmglogo.svg", height: 120,),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Size get preferredSize => Size(
|
||||||
|
double.maxFinite,
|
||||||
|
280);
|
||||||
|
}
|
||||||
@ -0,0 +1,61 @@
|
|||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter_svg/flutter_svg.dart';
|
||||||
|
import 'package:queuing_system/core/config/config.dart';
|
||||||
|
import 'package:queuing_system/core/config/size_config.dart';
|
||||||
|
import 'package:queuing_system/widget/data_display/app_texts_widget.dart';
|
||||||
|
|
||||||
|
class QueItem extends StatelessWidget {
|
||||||
|
const QueItem({
|
||||||
|
Key key,
|
||||||
|
this.isFirstLine = false,
|
||||||
|
this.isSecondLine = false,
|
||||||
|
this.isInListLine = false,
|
||||||
|
this.queNo,
|
||||||
|
this.isNurseVisit = false,
|
||||||
|
this.idDoctorVisit = false,
|
||||||
|
}) : super(key: key);
|
||||||
|
final bool isFirstLine;
|
||||||
|
final bool isSecondLine;
|
||||||
|
final bool isInListLine;
|
||||||
|
final bool isNurseVisit;
|
||||||
|
final bool idDoctorVisit;
|
||||||
|
final String queNo;
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Column(
|
||||||
|
children: [
|
||||||
|
AppText(
|
||||||
|
queNo,
|
||||||
|
fontSize: SizeConfig.getWidthMultiplier() *
|
||||||
|
(isFirstLine
|
||||||
|
? 8
|
||||||
|
: isSecondLine
|
||||||
|
? 3.5
|
||||||
|
: 3.2),
|
||||||
|
letterSpacing: -9.32,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
),
|
||||||
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
SvgPicture.asset(isNurseVisit
|
||||||
|
? "assets/images/nurseicon.svg"
|
||||||
|
: "assets/images/doctoricon.svg", height:80 ,),
|
||||||
|
SizedBox(width: 10,),
|
||||||
|
AppText(
|
||||||
|
isNurseVisit ? "Please visit Nurse" : "Please visit doctor",
|
||||||
|
color: isNurseVisit
|
||||||
|
? AppGlobal.appGreenColor
|
||||||
|
: AppGlobal.appRedColor,
|
||||||
|
fontSize: SizeConfig.getWidthMultiplier() * (2.5),
|
||||||
|
letterSpacing: -2.6,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue