mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
fix bugs
This commit is contained in:
@ -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)
|
||||
],
|
||||
),
|
||||
),
|
||||
|
@ -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'),
|
||||
),
|
||||
),
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user