super_sliver_list 0.2.1 copy "super_sliver_list: ^0.2.1" to clipboard
super_sliver_list: ^0.2.1 copied to clipboard

Drop-in replacement for SliverList and ListView that can handle large lists with variable extents and jump/animate to specific items.

example/lib/main.dart

import "dart:async";

import "package:flutter/foundation.dart";
import "package:logging/logging.dart";
import "package:pixel_snap/widgets.dart";

import "shell/app.dart";

void main() {
  Logger.root.onRecord.listen((record) {
    Zone.current.print("${record.level.name}: ${record.message}");
  });
  hierarchicalLoggingEnabled = true;
  WidgetsFlutterBinding.ensureInitialized();
  Logger("SuperSliverList").level = Level.INFO;

  // Right now the debug bar doesn't work nicely with safe area so
  // only enable it on desktop platform.
  Widget app = const ExampleApp();
  if (defaultTargetPlatform != TargetPlatform.iOS &&
      defaultTargetPlatform != TargetPlatform.android) {
    app = PixelSnapDebugBar(child: app);
  }
  runApp(app);
}
191
likes
0
pub points
95%
popularity

Publisher

verified publishernativeshell.dev

Drop-in replacement for SliverList and ListView that can handle large lists with variable extents and jump/animate to specific items.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, logging

More

Packages that depend on super_sliver_list