flutter sliver app bar transparent code example
Example: flutter transparent appbar
@override
Widget build(BuildContext context) {
return Scaffold(
extendBodyBehindAppBar: true,
backgroundColor: Colors.red,
appBar: AppBar(
backgroundColor: Colors.transparent,
elevation: 0,
title: Text("Title"),
),
body: Center(child: Text("Content")),
);
}