CupertinoPickerSelectionOverlay.underline constructor
CupertinoPickerSelectionOverlay.underline({
- BuildContext? context,
- double width = 1,
- Color? color,
Implementation
factory CupertinoPickerSelectionOverlay.underline({ BuildContext? context, double width = 1, Color? color }) {
var underlineColor = color ?? themeUnderlineColor(context) ?? Color(0xFF000000);
return CupertinoPickerSelectionOverlay(
background: Colors.transparent,
border: Border(
bottom: BorderSide(
width: width,
color: underlineColor,
),
),
borderRadius: BorderRadius.zero
);
}