mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
padding and text them
This commit is contained in:
@ -143,7 +143,7 @@ class _DynamicTableState extends State<DynamicTable> {
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Text(title, style: const TextStyle(fontWeight: FontWeight.bold)),
|
||||
child: Text(title, style: const TextStyle(fontWeight: FontWeight.w400,fontSize: 13,color: Color(0xFF999999))),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -37,8 +37,7 @@ class CustomWebTextField extends StatelessWidget {
|
||||
.bodyMedium!
|
||||
.copyWith(color: Colors.red),
|
||||
),
|
||||
Text(textFieldName,
|
||||
style: Theme.of(context).textTheme.bodySmall!.copyWith(
|
||||
Text(textFieldName, style: Theme.of(context).textTheme.bodySmall!.copyWith(
|
||||
color: Colors.black,fontSize: 13),),
|
||||
],
|
||||
),
|
||||
|
@ -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