Increase button border radius (#90)
This commit is contained in:
parent
30715a1c0e
commit
8dfabb7ba9
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class _ButtonState extends State<Button> with SingleTickerProviderStateMixin {
|
||||||
padding: widget.padding,
|
padding: widget.padding,
|
||||||
splashFactory: Platform.isIOS ? NoSplash.splashFactory : null,
|
splashFactory: Platform.isIOS ? NoSplash.splashFactory : null,
|
||||||
textStyle: TextStyle(fontWeight: FontWeight.bold, fontSize: widget.fontSize),
|
textStyle: TextStyle(fontWeight: FontWeight.bold, fontSize: widget.fontSize),
|
||||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20.0)),
|
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(30.0)),
|
||||||
elevation: widget.color == null ? 10.0 : 0.0,
|
elevation: widget.color == null ? 10.0 : 0.0,
|
||||||
).copyWith(
|
).copyWith(
|
||||||
elevation: (widget.color == null || widget.fill) && widget.onPressed != null
|
elevation: (widget.color == null || widget.fill) && widget.onPressed != null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue