formpadding

This commit is contained in:
poojakhatawate 2024-05-21 14:30:43 +05:30
parent 2d3dcfa022
commit 6ddaf2774a
2 changed files with 39 additions and 23 deletions

View File

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

View File

@ -282,7 +282,13 @@ class _InteractionScreenState extends State<InteractionScreen> {
sectionItem.input ==
'add'
? const SizedBox.shrink()
: FittedBox(
: Padding(
padding:
const EdgeInsets
.only(
left: 8.0,
right: 8.0),
child: FittedBox(
fit: BoxFit.scaleDown,
child: Text(
sectionItem
@ -291,7 +297,8 @@ class _InteractionScreenState extends State<InteractionScreen> {
? '${sectionItem.name}:*'
: '${sectionItem.name}:',
style: TextStyle(
color: Colors.orange
color: Colors
.orange
.shade800,
fontSize: 18.0,
// fontSize: isTablet
@ -300,6 +307,7 @@ class _InteractionScreenState extends State<InteractionScreen> {
),
),
),
),
// SizedBox(
// height: isTablet ? 15 : 5,
// ),