Skip to content
pubscout

custom_cupertino_picker

2.0.3, released 4 years ago by an unverified publisher

Customizable Cupertino picker with border and physics options

WASM-ready
$ flutter pub add custom_cupertino_picker
Source repository

What it does

Provides a Cupertino picker that allows customizing the highlighter border color, width, and scroll physics. It replaces the default picker when you need visual tweaks or different scrolling behavior.

AI-written summary of version 2.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a Cupertino picker with a custom border or highlight color
  • You want to override the default scroll physics of the picker
  • You need a null‑safe picker for a Flutter 2+ project

Skip it when

  • You require full Cupertino picker features such as selection overlay or complex item builders
  • You are building a large form library that already includes a picker widget

Strengths

  • Simple API for border and physics customization
  • Fully null‑safe and compatible with Flutter 2+
  • No external dependencies

Weaknesses

  • Limited to border and physics tweaks; no other customization options
  • No extensive documentation or examples
  • Not actively maintained since 2022

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:custom_cupertino_picker/custom_cupertino_picker.dart';

CustomCupertinoPicker(
  highlighterBorder: Border(
    top: BorderSide(width: 1.0, color: Colors.orange),
    bottom: BorderSide(width: 1.0, color: Colors.orange),
  ),
  highlighterBorderWidth: 60,
  scrollPhysics: const FixedExtentScrollPhysics(parent: BouncingScrollPhysics()),
  children: const [Text('One'), Text('Two'), Text('Three')],
);

Alternatives

Packages that do the same job and could replace custom_cupertino_picker.