sliver_head_automatic_adsorption 1.0.8 copy "sliver_head_automatic_adsorption: ^1.0.8" to clipboard
sliver_head_automatic_adsorption: ^1.0.8 copied to clipboard

This is a custom sliver component that can automatically attach to the top

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:sliver_head_automatic_adsorption_example/sliver_example.dart';

void main() {
  runApp(const MyApp());
  SystemUiOverlayStyle systemUiOverlayStyle =
      const SystemUiOverlayStyle(statusBarColor: Colors.transparent);
  SystemChrome.setSystemUIOverlayStyle(systemUiOverlayStyle);
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: SliverExample());
  }
}
copied to clipboard
8
likes
150
points
63
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.11 - 2025.03.26

This is a custom sliver component that can automatically attach to the top

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on sliver_head_automatic_adsorption