This commit is contained in:
snehalathad@aissel.com 2024-05-21 14:44:14 +05:30
commit 91f46d6036
2 changed files with 39 additions and 23 deletions

View File

@ -290,14 +290,22 @@ class _EditInteractionScreenState extends State<EditInteractionScreen> {
sectionItem.input == sectionItem.input ==
'add' 'add'
? const SizedBox.shrink() ? const SizedBox.shrink()
: Text( : Padding(
'${sectionItem.name}:*', padding:
style: TextStyle( const EdgeInsets
color: Colors.orange .only(
.shade800, left: 8.0,
fontSize: isTablet right: 8.0),
? 18 child: Text(
: 12, '${sectionItem.name}:*',
style: TextStyle(
color: Colors
.orange
.shade800,
fontSize: isTablet
? 18
: 12,
),
), ),
), ),
SizedBox( SizedBox(

View File

@ -282,21 +282,29 @@ class _InteractionScreenState extends State<InteractionScreen> {
sectionItem.input == sectionItem.input ==
'add' 'add'
? const SizedBox.shrink() ? const SizedBox.shrink()
: FittedBox( : Padding(
fit: BoxFit.scaleDown, padding:
child: Text( const EdgeInsets
sectionItem .only(
.validation! left: 8.0,
.isRequired right: 8.0),
? '${sectionItem.name}:*' child: FittedBox(
: '${sectionItem.name}:', fit: BoxFit.scaleDown,
style: TextStyle( child: Text(
color: Colors.orange sectionItem
.shade800, .validation!
fontSize: 18.0, .isRequired
// fontSize: isTablet ? '${sectionItem.name}:*'
// ? 18 : '${sectionItem.name}:',
// : 12, style: TextStyle(
color: Colors
.orange
.shade800,
fontSize: 18.0,
// fontSize: isTablet
// ? 18
// : 12,
),
), ),
), ),
), ),