Search packages, repositories and app categories

circle_wheel_scroll cover
Package detailsv0.0.3

circle_wheel_scroll

Circle Wheel List View for flutter based on ListWheelScrollView by flutter team.

30-day downloads
133
Likes
86
Pub points
70

Install package

flutter pub add circle_wheel_scroll

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that extends ListWheelScrollView to create a circular wheel scroll interface, enabling smooth, continuous rotation of items in a circular layout. Inspired by the Flutter team's ListWheelScrollView, it enhances user interaction with visually engaging, animated wheel-based navigation. Ideal for selecting options like time, date, or categories in a compact, intuitive format. The package supports customization of item size, spacing, and scrolling behavior while maintaining performance and responsiveness.

Use cases

  • Time picker interfaces
  • Category selection wheels
  • Custom numeric selectors
  • Interactive data browsing
  • Gamified UI components

Key features

  • Circular item arrangement
  • Smooth continuous scrolling
  • Customizable item size and spacing
  • Built on ListWheelScrollView
  • High performance rendering

Suitable for

  • Developers building interactive wheel selectors
  • UI designers seeking unique navigation patterns
  • Apps requiring intuitive data selection
  • Mobile apps with limited screen space

Considerations

  • Limited to vertical circular layout
  • May require additional styling for complex designs
  • Not ideal for large datasets
  • Depends on ListWheelScrollView's constraints

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Circle Wheel Scroll View packege

Modified version of original ListWheelScrollView to create effect of scroling on circle.

Usage

To use plugin, just import package import 'package:circle_wheel_scroll/circle_wheel_scroll_view.dart';

Example

import 'package:flutter/material.dart';

import 'package:circle_wheel_scroll/circle_wheel_scroll_view.dart';

class WheelExample extends StatelessWidget {
  Widget _buildItem(int i) {
    return Center(
      child: ClipRRect(
        borderRadius: BorderRadius.circular(40),
        child: Container(
          width: 80,
          padding: EdgeInsets.all(20),
          color: Colors.blue[100 * ((i % 8) + 1)],
          child: Center(
            child: Text(
              i.toString(),
            ),
          ),
        ),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Wheel'),
      ),
      body: SafeArea(
        child: Center(
          child: Container(
            // height: 260,
            // width: 160,
            child: CircleListScrollView(
              physics: CircleFixedExtentScrollPhysics(),
              axis: Axis.horizontal,
              itemExtent: 80,
              children: List.generate(20, _buildItem),
              radius: MediaQuery.of(context).size.width * 0.6,
            ),
          ),
        ),
      ),
    );
  }
}


class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: WheelExample(),
    );
  }
}

void main() => runApp(MyApp());

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package