chore: Follow up fix textfield design for flutter 3.19.0

This commit is contained in:
krille-chan 2024-02-22 16:22:04 +01:00
parent e0291c8e6e
commit ffeb8bb08e
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

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

View file

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