super_sliver_list 0.4.1 copy "super_sliver_list: ^0.4.1" to clipboard
super_sliver_list: ^0.4.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.FINER;

  // 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);
}
105
likes
140
pub points
92%
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

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter, logging

More

Packages that depend on super_sliver_list