bar method

Widget bar({
  1. Color color = Colors.blue,
  2. Color textColor = Colors.white,
  3. double fontSize = 14,
  4. double radius = 4,
})

Implementation

Widget bar(
    {Color color = Colors.blue,
    Color textColor = Colors.white,
    double fontSize = 14,
    double radius = 4}) {
  return TextBar(
    this,
    color: color,
    textColor: textColor,
    fontSize: fontSize,
    radius: radius,
  );
}