This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in your startup main.dart file | |
RestClient(await buildDioClient()) | |
RepositoryProvider(create: (context) => restClient, child: .... | |
// The class preceding the statefull class with the dropdown search | |
class AssetDialog extends StatelessWidget { | |
final Asset asset; | |
const AssetDialog(this.asset, {super.key}); | |
@override | |
Widget build(BuildContext context) { |