Search packages, repositories and app categories

circular cover
Package detailsv0.0.5

circular

flutter package built to pick and display data in circular sliders making it easy to work with values in a specific range

AndroidiOSWebmacOSWindowsLinux
30-day downloads
93
Likes
29
Pub points
140

Install package

flutter pub add circular

Package Overview

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

The circular package is a Flutter library designed to create and manage circular sliders for intuitive value selection within a defined range. It enables developers to display and pick data in a visually engaging circular format, ideal for settings like volume controls, angle selectors, or percentage inputs. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring consistent behavior across devices. With customizable appearance and smooth interactions, it simplifies the integration of circular input mechanisms into Flutter applications.

Use cases

  • Adjusting values in a 360-degree range
  • Creating intuitive UIs for settings like brightness or volume
  • Designing interactive dashboards
  • Implementing angle or percentage selectors
  • Building custom form inputs with visual feedback

Key features

  • Circular slider with smooth rotation
  • Configurable range and step values
  • Cross-platform compatibility
  • Customizable styling and colors
  • Built-in value change callbacks
  • Responsive touch and drag support

Suitable for

  • UI designers seeking visual input components
  • Developers building control panels or settings interfaces
  • Apps requiring non-linear value selection
  • Projects targeting multiple platforms with consistent UX
  • Educational or interactive applications

Considerations

  • May require additional logic for precise value mapping
  • Performance may vary on low-end devices with complex animations
  • Limited built-in validation beyond range constraints
  • Not optimized for high-frequency updates without throttling

Original README

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

Circular

Features

  • picking values in specific range
  • displaying values in a a circular slider

Getting started

add the package
flutter pub add circular
import the package
import 'package:circular/circular.dart';

Usage

Circular slider
CircularSlider(
decoration: BoxDecoration(
    borderRadius: BorderRadius.circular(200),
    boxShadow: const [
      BoxShadow(
          offset: Offset(-10, -10),
          color: Colors.white,
          blurRadius: 20,
          spreadRadius: 1),
      BoxShadow(
          offset: Offset(10, 10),
          color: Color.fromARGB(255, 158, 158, 158),
          blurRadius: 20,
          spreadRadius: 1)
    ]),
maxValue: 100,
radius:100, 
child: Text(
  value.toString(),
  style: TextStyle(fontSize: 30),
),
color: Color(0xffEEEEEE),
sliderColor: Color(0xff62CBDA),
unSelectedColor: Color(0xffD7DEE7),
onDrag: (value) {
  setState(() {
    this.value = value;
  });
},
),
Circular Viewer
CircularViewer(
  decoration: BoxDecoration(
      borderRadius: BorderRadius.circular(200),
      boxShadow: const [
        BoxShadow(
            offset: Offset(-10, -10),
            color: Colors.white,
            blurRadius: 20,
            spreadRadius: 1),
        BoxShadow(
            offset: Offset(10, 10),
            color: Color.fromARGB(255, 158, 158, 158),
            blurRadius: 20,
            spreadRadius: 1)
      ]),
  value: 50,
  maxValue: 100,
  radius: 100,
  textStyle: TextStyle(fontSize: 30),
  color: Color(0xffEEEEEE),
  sliderColor: Color(0xff62CBDA),
  unSelectedColor: Color(0xffD7DEE7),
)

check out the full example

Additional information

story

after I made the the magic circle I decided to make it useful so I made this package

Contributing

Contributions are always welcome!

License

MIT LICENSE

Categories

Source repository

Projects using this package

No data available yet.