flutter appbar transparent background 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")),
);
}