azlistview 2.0.0 copy "azlistview: ^2.0.0" to clipboard
azlistview: ^2.0.0 copied to clipboard

A Flutter sticky headers & index ListView. IndexBar. such as citylist, contactlist. index and hover effect.

example/lib/main.dart

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

import 'ui/index.dart';

void main() {
  runApp(MyApp());
  if (Platform.isAndroid) {
    SystemChrome.setSystemUIOverlayStyle(
        SystemUiOverlayStyle(statusBarColor: Colors.transparent));
  }
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'AzListView Demo',
      theme: ThemeData(
        primaryColor: Colors.white,
        accentColor: Colors.grey,
        //primarySwatch: Colors.white,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Text(
            'AzListView',
          ),
        ),
        body: ListPage([
          PageInfo("GitHub Languages", (ctx) => GitHubLanguagePage(), false),
          PageInfo("Contacts", (ctx) => ContactsPage(), false),
          PageInfo("Contacts List", (ctx) => ContactListPage()),
          PageInfo("City List", (ctx) => CityListPage(), false),
          PageInfo(
              "City List(Custom header)", (ctx) => CityListCustomHeaderPage()),
          PageInfo("Car models", (ctx) => CarModelsPage(), false),
          PageInfo("10000 data", (ctx) => LargeDataPage(), false),
        ]),
      ),
    );
  }
}
296
likes
130
points
12.5k
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter sticky headers & index ListView. IndexBar. such as citylist, contactlist. index and hover effect.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, scrollable_positioned_list

More

Packages that depend on azlistview