Closed liuhll closed 1 month ago
Hi @liuhll, Thanks for filing the issue and Apologies for the delayed response.
You can use the child parameter to customize the suggestions, Please see the below code sample
Hope it answers your question.
https://github.com/user-attachments/assets/97704df9-1206-4ad8-90c2-ea89855ea92b
Thank you! so much
Closing as solved!
Hi @liuhll, Thanks for filing the issue and Apologies for the delayed response.
You can use the child parameter to customize the suggestions, Please see the below code sample
code sample
```dart // import 'package:example/pagination.dart'; import 'package:flutter/material.dart'; import 'package:searchfield/searchfield.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter App', theme: ThemeData( colorSchemeSeed: Colors.indigo, useMaterial3: true, brightness: Brightness.light, ), darkTheme: ThemeData( colorSchemeSeed: Colors.blue, useMaterial3: true, brightness: Brightness.dark, ), home: SearchFieldSample(), debugShowCheckedModeBanner: false, ); } } class SearchFieldSample extends StatefulWidget { const SearchFieldSample({Key? key}) : super(key: key); @override StateHope it answers your question.
https://github.com/user-attachments/assets/97704df9-1206-4ad8-90c2-ea89855ea92b