Skip to content
On this page

RadialChart

A radial visualization of progress or values.

RadialChart in FluttyUIRadialChart in FluttyUI dark theme

Import

import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;

API Reference

The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.

RadialChart

const RadialChart({
  super.key,
  required this.data,
  this.size = 220,
  this.maxValue,
  this.innerRadius = .45,
  this.startAngle = 0,
  this.sweepAngle = 360,
  this.gap = 6,
  this.rounded = true,
  this.showTrack = true,
  this.trackColor,
  this.center,
  this.animate = true,
  this.animationDuration,
  this.animationCurve,
  this.semanticLabel,
});
ParameterTypeRequiredDefault
keyKey?Nonull
dataList<ChartSegment>Yes—
sizedoubleNo220
maxValuedouble?Nonull
innerRadiusdoubleNo.45
startAngledoubleNo0
sweepAngledoubleNo360
gapdoubleNo6
roundedboolNotrue
showTrackboolNotrue
trackColorColor?Nonull
centerWidget?Nonull
animateboolNotrue
animationDurationDuration?Nonull
animationCurveCurve?Nonull
semanticLabelString?Nonull

Application Setup

Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.

Source

lib/src/widgets/charts/radial_chart/radial_chart.dart

This reference is generated from the RadialChart declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

DartFlutter

Get started with FluttyUI