import 'package:aku_ui/aku_ui.dart'; import 'package:flutter/material.dart'; ///圆角按钮 class AkuRoundButton extends AkuButton { final double height; final VoidCallback onPressed; final Widget child; final EdgeInsets padding; final Color color; AkuRoundButton({ Key key, this.height, @required this.child, @required this.onPressed, this.padding = EdgeInsets.zero, this.color = Colors.transparent, }) : super( key: key, height: height, radius: height / 2, onPressed: onPressed, child: child, padding: padding, color: color, ); }