From 65408b496acf8709828620242633000974998e52 Mon Sep 17 00:00:00 2001 From: Gaspard Merten Date: Tue, 14 Jul 2020 16:34:33 +0200 Subject: [PATCH] Removing useless Row since the Icon is now contained in the suffixIcon of the input decoration --- lib/date_field.dart | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/date_field.dart b/lib/date_field.dart index 9406487..037e28f 100644 --- a/lib/date_field.dart +++ b/lib/date_field.dart @@ -253,13 +253,7 @@ class _InputDropdown extends StatelessWidget { child: InputDecorator( decoration: effectiveDecoration, baseStyle: textStyle, - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - mainAxisSize: MainAxisSize.min, - children: [ - Text(text, style: textStyle), - ], - ), + child: Text(text, style: textStyle), ), ), );