divider method

YYDialog divider({
  1. dynamic color,
  2. dynamic height,
})

Implementation

YYDialog divider({color, height}) {
  return this.widget(
    Divider(
      color: color ?? Colors.grey[300],
      height: height ?? 0.1,
    ),
  );
}