TwoButton constructor

const TwoButton(
  1. {Key key,
  2. Function ontap1,
  3. Function ontap2,
  4. @required Widget child1,
  5. @required Widget child2,
  6. double rounded,
  7. double elavation,
  8. @required Color color1,
  9. @required Color color2,
  10. @required double height,
  11. double width}
)

Implementation

const TwoButton(
    {Key key,
    this.ontap1,
    this.ontap2,
    @required this.child1,
    @required this.child2,
    this.rounded,
    this.elavation,
    @required this.color1,
    @required this.color2,
    @required this.height,
    this.width})
    : super(key: key);