padding and text them

This commit is contained in:
mohammad
2024-08-21 16:58:28 +03:00
parent 4b7567a6fe
commit e4f8924e93
11 changed files with 93 additions and 119 deletions

View File

@ -12,6 +12,7 @@ class DateTimeWebWidget extends StatelessWidget {
required this.title,
required this.startTime,
required this.endTime,
required this.isTime,
required this.firstString,
required this.secondString,
});
@ -19,6 +20,7 @@ class DateTimeWebWidget extends StatelessWidget {
final Size size;
final String title;
final bool isRequired;
final bool isTime;
final String firstString;
final String secondString;
final Function()? startTime;
@ -66,6 +68,8 @@ class DateTimeWebWidget extends StatelessWidget {
child: Text(secondString, style: Theme.of(context).textTheme.bodySmall!.copyWith(
color: ColorsManager.grayColor,fontSize: 12,fontWeight: FontWeight.w400),)),
SvgPicture.asset(
isTime?
Assets.timeIcon:
Assets.calendarIcon,
),
],