chore: Follow up fix textfield design for flutter 3.19.0
This commit is contained in:
parent
e0291c8e6e
commit
ffeb8bb08e
2 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue