updated text theme

This commit is contained in:
hannathkadher
2024-11-26 12:32:36 +04:00
parent 17943a5ddf
commit a82505ea6a

View File

@ -87,7 +87,7 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
child: InkWell(
onTap: _showIconSelectionDialog,
child: Container(
width: screenWidth * 0.020,
width: screenWidth * 0.020,
height: screenWidth * 0.020,
decoration: const BoxDecoration(
color: Colors.white,
@ -103,7 +103,6 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
),
],
),
const SizedBox(width: 16),
Expanded(
// Ensure the text field expands responsively
@ -170,8 +169,7 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
mainAxisSize: MainAxisSize.min,
children: [
Padding(
padding: const EdgeInsets.only(
left: 6.0),
padding: const EdgeInsets.only(left: 6.0),
child: SvgPicture.asset(
Assets.addIcon,
width: screenWidth * 0.015, // Adjust icon size
@ -179,16 +177,11 @@ class CreateSpaceDialogState extends State<CreateSpaceDialog> {
),
),
const SizedBox(width: 3),
const Flexible(
Flexible(
child: Text(
'Add devices / Assign a space model',
overflow: TextOverflow.ellipsis, // Prevent overflow
style: TextStyle(
color: Colors.black,
fontSize: 14,
fontFamily: 'Aftika',
fontWeight: FontWeight.w400,
),
style: Theme.of(context).textTheme.bodyMedium,
),
),
],