parent
7b25a068e2
commit
d6e4555494
@ -67,7 +67,7 @@ class DrawerThemeData with Diagnosticable {
|
|||||||
/// Overrides the default value of [Drawer.shape].
|
/// Overrides the default value of [Drawer.shape].
|
||||||
final ShapeBorder? shape;
|
final ShapeBorder? shape;
|
||||||
|
|
||||||
/// Overrides the default value of [Drawer.shape] for a end drawer.
|
/// Overrides the default value of [Drawer.shape] for an end drawer.
|
||||||
final ShapeBorder? endShape;
|
final ShapeBorder? endShape;
|
||||||
|
|
||||||
/// Overrides the default value of [Drawer.width].
|
/// Overrides the default value of [Drawer.width].
|
||||||
|
@ -2566,7 +2566,7 @@ void main() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Regression test for https://github.com/flutter/flutter/issues/80256
|
// Regression test for https://github.com/flutter/flutter/issues/80256
|
||||||
testWidgets('The second page should have a back button even it has a end drawer', (WidgetTester tester) async {
|
testWidgets('The second page should have a back button even it has an end drawer', (WidgetTester tester) async {
|
||||||
final Page<void> page1 = MaterialPage<void>(
|
final Page<void> page1 = MaterialPage<void>(
|
||||||
key: const ValueKey<String>('1'),
|
key: const ValueKey<String>('1'),
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
|
@ -6605,7 +6605,7 @@ void main() {
|
|||||||
expect(decoration.isCollapsed, false);
|
expect(decoration.isCollapsed, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('InputDecorationTheme.isCollapsed can be overriden', () {
|
test('InputDecorationTheme.isCollapsed can be overridden', () {
|
||||||
final InputDecoration decoration = const InputDecoration(
|
final InputDecoration decoration = const InputDecoration(
|
||||||
isCollapsed: true,
|
isCollapsed: true,
|
||||||
hintText: 'Hello, Flutter!',
|
hintText: 'Hello, Flutter!',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user