Add bottom to search bar (#68794)

This commit is contained in:
tiya
2020-11-16 17:07:20 +00:00
committed by GitHub
parent bf2c9dfc05
commit adc8a42b38
3 changed files with 41 additions and 3 deletions

View File

@@ -223,6 +223,12 @@ class _SearchDemoSearchDelegate extends SearchDelegate<int?> {
),
];
}
@override
PreferredSizeWidget buildBottom(BuildContext context) => const PreferredSize(
preferredSize: Size.fromHeight(56.0),
child: Text('Numbers'),
);
}
class _ResultCard extends StatelessWidget {