Set default button color to pink

This commit is contained in:
Vishnu Mohandas 2020-10-10 05:16:51 +05:30
parent 00d9a8d201
commit 5b905e85f5
2 changed files with 3 additions and 1 deletions

View file

@ -85,6 +85,9 @@ class MyApp extends StatelessWidget with WidgetsBindingObserver {
hintColor: Colors.grey,
accentColor: Colors.pink[400],
buttonColor: Colors.pink,
buttonTheme: ButtonThemeData().copyWith(
buttonColor: Colors.pink,
),
toggleableActiveColor: Colors.pink[400],
),
home: HomeWidget(_title),

View file

@ -91,7 +91,6 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {
child: Text(
"Verify",
),
color: Colors.pink,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(18.0),
),