scroll_pos 0.3.0 copy "scroll_pos: ^0.3.0" to clipboard
scroll_pos: ^0.3.0 copied to clipboard

outdated

Provides some additional functions to ScrollController to define item position relative to the screen.

example/lib/main.dart

import 'package:example/listview.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'ScrollPosController demo',
      theme: ThemeData(
        primarySwatch: Colors.orange,
        listTileTheme: ListTileThemeData(
          selectedTileColor: Colors.orangeAccent.withOpacity(0.3),
          selectedColor: Colors.black,
        ),
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('ScrollPosController Demo'),
        ),
        body: const ExampleListView(),
      ),
    );
  }
}
62
likes
0
pub points
96%
popularity

Publisher

verified publisherwinxaito.com

Provides some additional functions to ScrollController to define item position relative to the screen.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on scroll_pos