CardBarButton constructor

const CardBarButton(
  1. {Key key,
  2. Color color = Colors.white,
  3. double eleavation = 12,
  4. double height = 80,
  5. double width = 80,
  6. Color shadowColor = Colors.grey,
  7. Function onTap,
  8. double roundedCorner = 5,
  9. double middleSpace = 8,
  10. @required Widget title,
  11. @required Widget subtitle}
)

Implementation

const CardBarButton(
    {Key key,
    this.color = Colors.white,
    this.eleavation = 12,
    this.height = 80,
    this.width = 80,
    this.shadowColor = Colors.grey,
    this.onTap,
    this.roundedCorner = 5,
    this.middleSpace = 8,
    @required this.title,
    @required this.subtitle})
    : super(key: key);