This pull request introduces several new features and enhancements to the search functionality in the project. The most important changes include the addition of a SearchSuggestion model, a new GridBackgroundPainter for the search background, an InfiniteScrollRow widget for displaying search suggestions, and a SparkleLogo animation for visual appeal.
New Models and Widgets:
lib/models/search_suggestion.dart: Added a SearchSuggestion class to represent individual search suggestions with text and emoji properties.
Background and Visual Enhancements:
lib/widgets/search/grid_background.dart: Introduced GridBackgroundPainter, a custom painter to draw a grid background with configurable color, opacity, grid size, and stroke width.
lib/widgets/search/sparkle_logo.dart: Added SparkleLogo widget, which includes an animated sparkle effect using a custom painter and animation controller.
Search Functionality Enhancements:
lib/widgets/search/search_initial_view.dart: Enhanced the SearchInitialView by adding an InfiniteScrollRow widget for horizontally scrolling search suggestions, a grid background, and the new SparkleLogo. The view now includes three rows of suggestions with smooth scrolling and tap handling for navigation.
This pull request introduces several new features and enhancements to the search functionality in the project. The most important changes include the addition of a
SearchSuggestion
model, a newGridBackgroundPainter
for the search background, anInfiniteScrollRow
widget for displaying search suggestions, and aSparkleLogo
animation for visual appeal.New Models and Widgets:
lib/models/search_suggestion.dart
: Added aSearchSuggestion
class to represent individual search suggestions with text and emoji properties.Background and Visual Enhancements:
lib/widgets/search/grid_background.dart
: IntroducedGridBackgroundPainter
, a custom painter to draw a grid background with configurable color, opacity, grid size, and stroke width.lib/widgets/search/sparkle_logo.dart
: AddedSparkleLogo
widget, which includes an animated sparkle effect using a custom painter and animation controller.Search Functionality Enhancements:
lib/widgets/search/search_initial_view.dart
: Enhanced theSearchInitialView
by adding anInfiniteScrollRow
widget for horizontally scrolling search suggestions, a grid background, and the newSparkleLogo
. The view now includes three rows of suggestions with smooth scrolling and tap handling for navigation.