number_paginator 0.4.1 copy "number_paginator: ^0.4.1" to clipboard
number_paginator: ^0.4.1 copied to clipboard

A Flutter paginator widget for switching between page numbers.

example/lib/main.dart

import 'package:example/builder_page.dart';
import 'package:example/dropdown_page.dart';
import 'package:example/numbers_page.dart';
import 'package:example/only_arrows_page.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(
      theme: ThemeData.from(
        colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.blue),
      ),
      home: DefaultTabController(
        length: 4,
        child: Scaffold(
          appBar: AppBar(
            title: const Text("Number Paginator"),
            bottom: const TabBar(
              tabs: [
                Tab(child: Text("Hidden")),
                Tab(child: Text("Numbers")),
                Tab(child: Text("Dropdown")),
                Tab(child: Text("Custom Builder")),
              ],
            ),
          ),
          body: const TabBarView(
            children: [
              OnlyArrowsPage(),
              NumbersPage(),
              DropdownPage(),
              BuilderPage(),
            ],
          ),
        ),
      ),
    );
  }
}
73
likes
140
pub points
96%
popularity
screenshot

Publisher

verified publisherwiefel.dev

A Flutter paginator widget for switching between page numbers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

auto_size_text, flutter

More

Packages that depend on number_paginator