Removed remaining obsolete button widget references (#67440)

This commit is contained in:
Hans Muller
2020-10-07 08:45:41 -07:00
committed by GitHub
parent 6620f831e9
commit ab9373bf48
6 changed files with 12 additions and 16 deletions

View File

@@ -10,7 +10,6 @@ import 'package:flutter/widgets.dart';
import '../app_bar.dart';
import '../back_button.dart';
import '../button_theme.dart';
import '../color_scheme.dart';
import '../debug.dart';
import '../dialog.dart';
@@ -518,12 +517,9 @@ class _CalendarRangePickerDialog extends StatelessWidget {
),
actions: <Widget>[
if (orientation == Orientation.landscape) entryModeIcon,
ButtonTheme(
minWidth: 64,
child: TextButton(
onPressed: onConfirm,
child: Text(confirmText, style: saveButtonStyle),
),
TextButton(
onPressed: onConfirm,
child: Text(confirmText, style: saveButtonStyle),
),
const SizedBox(width: 8),
],

View File

@@ -5550,7 +5550,7 @@ typedef RouteCompletionCallback<T> = void Function(T result);
/// mainAxisSize: MainAxisSize.min,
/// children: <Widget>[
/// Text('Last count: ${_lastCount.value}'),
/// RaisedButton(
/// ElevatedButton(
/// onPressed: () {
/// // Show the route defined by the `RestorableRouteFuture`.
/// _counterRoute.present('Awesome Counter');