chore: Follow up fix textfield design for flutter 3.19.0

pull/906/head
krille-chan 2 years ago
parent e0291c8e6e
commit ffeb8bb08e
No known key found for this signature in database

@ -89,10 +89,11 @@ abstract class FluffyThemes {
), ),
), ),
inputDecorationTheme: InputDecorationTheme( inputDecorationTheme: InputDecorationTheme(
border: UnderlineInputBorder( border: OutlineInputBorder(
borderSide: BorderSide.none, borderSide: BorderSide.none,
borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2), borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2),
), ),
contentPadding: const EdgeInsets.symmetric(horizontal: 12),
filled: true, filled: true,
), ),
appBarTheme: AppBarTheme( appBarTheme: AppBarTheme(

@ -50,10 +50,11 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
onChanged: controller.onSearchEnter, onChanged: controller.onSearchEnter,
decoration: InputDecoration( decoration: InputDecoration(
fillColor: Theme.of(context).colorScheme.secondaryContainer, fillColor: Theme.of(context).colorScheme.secondaryContainer,
border: UnderlineInputBorder( border: OutlineInputBorder(
borderSide: BorderSide.none, borderSide: BorderSide.none,
borderRadius: BorderRadius.circular(99), borderRadius: BorderRadius.circular(99),
), ),
contentPadding: EdgeInsets.zero,
hintText: L10n.of(context)!.searchChatsRooms, hintText: L10n.of(context)!.searchChatsRooms,
hintStyle: TextStyle( hintStyle: TextStyle(
color: Theme.of(context).colorScheme.onPrimaryContainer, color: Theme.of(context).colorScheme.onPrimaryContainer,

Loading…
Cancel
Save