update button splash color

null_safety
小赖 4 years ago
parent 5872efdbb1
commit 7dac10c093

@ -1,5 +1,4 @@
import 'package:ansu_ui/ansu_ui.dart';
import 'package:ansu_ui/divider/as_divider.dart';
import 'package:flutter/material.dart';
class ExampleListTile extends StatefulWidget {

@ -168,7 +168,7 @@ class _ASButtonState extends State<ASButton> {
: BorderSide.none,
borderRadius: BorderRadius.circular(widget.radius ?? 15.5.w)),
color: widget.bgcolor ?? kForegroundColor,
splashColor: widget.splashColor,
splashColor: widget.splashColor??ColorTool.getSplashColor(kPrimaryColor),
highlightColor: widget.splashColor?.withOpacity(0.3),
elevation: 0,
focusElevation: 0,

Loading…
Cancel
Save