Package 

Class ProgressIndicatorSegment

    • Constructor Detail

      • ProgressIndicatorSegment

        ProgressIndicatorSegment(Float weight, Color indicatorColor, Color trackColor, Color inProgressTrackColor)
        Represents a segment of the track in a SegmentedProgressIndicator.
        Parameters:
        weight - The proportion of the overall progress indicator that this segment should take up, as a proportion of the sum of the weights of all the other segments.
        indicatorColor - The color of the indicator bar.
        trackColor - The color of the background progress track.
        inProgressTrackColor - The color of the background progress track when this segment is in progress.
      • ProgressIndicatorSegment

        ProgressIndicatorSegment(Float weight, Brush indicatorBrush, Color trackColor, Color inProgressTrackColor)
        Parameters:
        weight - The proportion of the overall progress indicator that this segment should take up, as a proportion of the sum of the weights of all the other segments.
        indicatorBrush - The color brush of the indicator bar.
        trackColor - The color of the background progress track.
        inProgressTrackColor - The color of the background progress track when this segment is in progress.