This commit is contained in:
mohammad
2024-08-26 19:44:55 +03:00
parent e331d35a6c
commit 2e3f130071
14 changed files with 674 additions and 258 deletions

View File

@ -7,6 +7,7 @@ Future<void> showCustomDialog({
required String message,
String? title,
String? iconPath,
Widget? widget,
double? dialogHeight,
double? iconHeight,
double? iconWidth,
@ -53,6 +54,8 @@ Future<void> showCustomDialog({
textAlign: TextAlign.center,
),
),
if(widget!=null)
Expanded(child:widget)
],
),
),

View File

@ -73,7 +73,7 @@ class CustomWebTextField extends StatelessWidget {
decoration: textBoxDecoration()!
.copyWith(
errorStyle: const TextStyle(height: 0), // Hide the error text space
hintStyle: TextStyle(color: ColorsManager.grayColor),
hintText: 'Please enter'),
),
),

View File

@ -49,7 +49,7 @@ class DateTimeWebWidget extends StatelessWidget {
),
const SizedBox(height: 8,),
Container(
height:size.height * 0.055 ,
height:50 ,
padding: EdgeInsets.only(top: 10,bottom: 10,right: 30,left: 10),
decoration: containerDecoration,
child: FittedBox(
@ -69,7 +69,6 @@ class DateTimeWebWidget extends StatelessWidget {
SizedBox(width: 30,),
const Icon(Icons.arrow_right_alt),
SizedBox(width: 30,),
InkWell(
onTap:endTime,
child: FittedBox(