TrackerTheme constructor

const TrackerTheme({
  1. double? radius,
  2. double? gap,
  3. double? itemHeight,
})

Creates a TrackerTheme.

All parameters are optional and will fall back to theme defaults when not provided.

Parameters:

  • radius (double?, optional): Corner radius in pixels
  • gap (double?, optional): Spacing between segments in pixels
  • itemHeight (double?, optional): Height of segments in pixels

Example:

TrackerTheme(
  radius: 12.0,
  gap: 4.0,
  itemHeight: 48.0,
);

Implementation

const TrackerTheme({
  this.radius,
  this.gap,
  this.itemHeight,
});