mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
padding and text them
This commit is contained in:
@ -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,
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user