diff --git a/lib/main.dart b/lib/main.dart index 6788eb3..45a7ad0 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -199,19 +199,20 @@ class _MyHomePageState extends State with TickerProviderStateMixin { alignment: Alignment.bottomRight, children: [ IntrinsicWidth( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - mainAxisSize: MainAxisSize.min, - children: [ - ValidationItem("8 characters", eightChars), - _separator(), - ValidationItem("1 special character", specialChar), - _separator(), - ValidationItem("1 upper case", upperCaseChar), - _separator(), - ValidationItem("1 number", number) - ], - ), + child: Column(crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + ValidationItem("8 characters", eightChars), + _separator(), + FittedBox( + child: ValidationItem("1 special character", specialChar), + ), + _separator(), + ValidationItem("1 upper case", upperCaseChar), + _separator(), + ValidationItem("1 number", number) + ], + ) ), Padding( padding: const EdgeInsets.all(8.0),