diff --git a/example/lib/example_listtile.dart b/example/lib/example_listtile.dart index c0ea301..a2e086b 100644 --- a/example/lib/example_listtile.dart +++ b/example/lib/example_listtile.dart @@ -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 { diff --git a/lib/buttons/as_button.dart b/lib/buttons/as_button.dart index 67bd89e..df56b62 100644 --- a/lib/buttons/as_button.dart +++ b/lib/buttons/as_button.dart @@ -168,7 +168,7 @@ class _ASButtonState extends State { : 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,