skip to Main Content

Flutter – How to hide part of SliverAppBar when it is behind a widget?

import 'package:flutter/material.dart'; class HomePage extends StatefulWidget { const HomePage({super.key}); @override State<HomePage> createState() => _HomePageState(); } class _HomePageState extends State<HomePage> { var opacity = 0.0; @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Colors.purple.shade100, body: SafeArea( child: Stack( children: [ NotificationListener<ScrollUpdateNotification>(…

VIEW QUESTION
Back To Top
Search