Provide a search function for ui_package package using the same Algolia search engine that powers the FontAwesome Icon Gallery
This function call graphql API from https://x-brymo/github.com. For more information about the API, please visit
!! This package doesn't support custom icons yet, you can only search for free icons !!
dependencies:
ui_package:
ui_package: any
import 'package:ui_package/ui_package.dart';
To make this package work you need to disables icon tree shaking. This means unused icons will not be automatically removed and thus make the overall app size larger. You may need to pass --no-tree-shake-icons to the flutter build command for it to complete successfully.
Example:
flutter build apk --no-tree-shake-icons
flutter pub get
flutter pub add ui_package