ButtonTheme.of().colorScheme defers to Theme (#22880)
ButtonThemeData no longer requires a colorScheme. If colorScheme is null, ButtonTheme.of() will initialize it from the current Theme.
This commit is contained in:
@@ -129,7 +129,6 @@ class TravelDestinationItem extends StatelessWidget {
|
||||
),
|
||||
// share, explore buttons
|
||||
ButtonTheme.bar(
|
||||
colorScheme: theme.colorScheme,
|
||||
child: ButtonBar(
|
||||
alignment: MainAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
|
||||
Reference in New Issue
Block a user