core/utils/rounded_bar library
Functions
-
drawRoundedBar(
Canvas canvas, Rect rect, {required double radius, required Paint paint, bool roundTop = true, bool roundBottom = false}) → void - Draws a bar/rod shape with optional corner rounding.
-
drawVerticalBar(
Canvas canvas, Rect rect, {required double radius, required Paint paint, required double baseY}) → void -
Vertical bars: round the end away from the baseline (
baseY).