segment_display
0.6.0, released 7 months ago by stol.dev
Segment display widget for Flutter supporting 7, 14, and 16 segment displays with customizable styles
What it does
Provides widgets to render numeric and alphanumeric characters using segment displays. Supports custom segment shapes, colors, spacing, and decimal/colon characters.
AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a digital clock or numeric display with classic segment look
- You want to customize segment colors or shapes
- You need support for 7, 14, or 16 segment displays in a Flutter app
Skip it when
- You require a fully animated or physics-based segment animation
- You need a high-performance, low-level rendering of segments for very large numbers
Strengths
- Easy to use declarative API
- Supports multiple segment types and custom styles
- Always-visible disabled dividers and custom character maps
- Compatible with all Flutter platforms
Weaknesses
- No built-in animation support
- Limited to segment display shapes, not arbitrary graphics
- No integration with state management or theming beyond basic colors
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency, import package, use widget
SevenSegmentDisplay(
value: "123",
size: 12.0,
characterSpacing: 10.0,
backgroundColor: Colors.transparent,
segmentStyle: HexSegmentStyle(
enabledColor: Colors.red,
disabledColor: Colors.red.withOpacity(0.15),
),
)Alternatives
Packages that do the same job and could replace segment_display.
- syncfusion_flutter_datagrid
DataGrid widget for tabular data with editing, sorting, paging and export.
91Compare - flutter_expandable_fab
Speed dial floating action button widget that animates multiple action buttons.
82Compare - widget_tooltip
A customizable tooltip widget for Flutter with multiple trigger modes and smart positioning
48Compare - circular_widgets
Display widgets in a circle with customizable radius and spacing.
45Compare