flutter_pagination_pro 0.0.1 copy "flutter_pagination_pro: ^0.0.1" to clipboard
flutter_pagination_pro: ^0.0.1 copied to clipboard

A lightweight Flutter pagination package supporting infinite scroll, load more button, and numbered pagination with zero dependencies.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'screens/home_screen.dart';
import 'theme/app_theme.dart';

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

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

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

class _MyAppState extends State<MyApp> {
  ThemeMode _themeMode = ThemeMode.system;

  void _toggleTheme() {
    setState(() {
      _themeMode = _themeMode == ThemeMode.light
          ? ThemeMode.dark
          : _themeMode == ThemeMode.dark
              ? ThemeMode.system
              : ThemeMode.light;
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Pagination Pro Demo',
      debugShowCheckedModeBanner: false,
      theme: AppTheme.light,
      darkTheme: AppTheme.dark,
      themeMode: _themeMode,
      home: HomeScreen(
        themeMode: _themeMode,
        onToggleTheme: _toggleTheme,
      ),
    );
  }
}
3
likes
160
points
120
downloads

Publisher

verified publisheralmasum.dev

Weekly Downloads

A lightweight Flutter pagination package supporting infinite scroll, load more button, and numbered pagination with zero dependencies.

Repository (GitHub)
View/report issues

Topics

#pagination #infinite-scroll #paging #list #ui

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_pagination_pro