chore: Design follow up fixes
This commit is contained in:
parent
fd2f7114d6
commit
1fb1558565
2 changed files with 5 additions and 3 deletions
|
|
@ -41,6 +41,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
|
||||||
textInputAction: TextInputAction.search,
|
textInputAction: TextInputAction.search,
|
||||||
onChanged: controller.onSearchEnter,
|
onChanged: controller.onSearchEnter,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
|
fillColor: Theme.of(context).colorScheme.surfaceVariant,
|
||||||
contentPadding: EdgeInsets.zero,
|
contentPadding: EdgeInsets.zero,
|
||||||
border: OutlineInputBorder(
|
border: OutlineInputBorder(
|
||||||
borderRadius: BorderRadius.circular(90),
|
borderRadius: BorderRadius.circular(90),
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ class StoriesHeader extends StatelessWidget {
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
height: 98,
|
height: 98,
|
||||||
child: ListView.builder(
|
child: ListView.builder(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
padding: const EdgeInsets.symmetric(horizontal: 12),
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
itemCount: stories.length,
|
itemCount: stories.length,
|
||||||
itemBuilder: (context, i) {
|
itemBuilder: (context, i) {
|
||||||
|
|
@ -216,7 +216,6 @@ class _StoryButton extends StatelessWidget {
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
Material(
|
Material(
|
||||||
shadowColor: Theme.of(context).appBarTheme.shadowColor,
|
|
||||||
borderRadius: BorderRadius.circular(Avatar.defaultSize),
|
borderRadius: BorderRadius.circular(Avatar.defaultSize),
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: const EdgeInsets.all(3),
|
padding: const EdgeInsets.all(3),
|
||||||
|
|
@ -232,7 +231,9 @@ class _StoryButton extends StatelessWidget {
|
||||||
end: Alignment.bottomRight,
|
end: Alignment.bottomRight,
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
color: unread ? null : Theme.of(context).dividerColor,
|
color: unread
|
||||||
|
? null
|
||||||
|
: Theme.of(context).colorScheme.surfaceVariant,
|
||||||
borderRadius: BorderRadius.circular(Avatar.defaultSize),
|
borderRadius: BorderRadius.circular(Avatar.defaultSize),
|
||||||
),
|
),
|
||||||
child: Stack(
|
child: Stack(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue