scroll_vanisher 1.0.2 scroll_vanisher: ^1.0.2 copied to clipboard
Widget, that can make any widget vanish based on scroll direction.
import 'package:example/example/bottom_navigation/bottom_navigation_screen.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Scroll Vanisher',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.black),
useMaterial3: true,
),
home: BottomNavigationScreen(),
);
}
}