Open burhankhanzada opened 2 years ago
simple runnable demo
here is the running demo click any action button there is no visual effect like ripple that this button has been present which is default SliverAppbar do
main() => runApp(const App());
class App extends StatelessWidget {
const App({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Scaffold(
body: CustomScrollView(
slivers: [
ExtendedSliverAppbar(
title: const Text('ExtendedSliverAppBar'),
actions: Row(
children: [
IconButton(
icon: const Icon(Icons.search),
onPressed: () {},
),
IconButton(
icon: const Icon(Icons.favorite),
onPressed: () {},
),
IconButton(
icon: const Icon(Icons.more_vert),
onPressed: () {},
),
],
),
background: Container(
height: 250,
color: Theme.of(context).primaryColor,
),
),
SliverList(
delegate: SliverChildListDelegate.fixed(
List.generate(
10,
(index) => ListTile(
title: Text('Item $index'),
),
),
),
),
],
),
),
),
);
}
}
there is no ripple effect when i press back button and actions