ticker_search 1.0.0
ticker_search: ^1.0.0 copied to clipboard
A new Flutter package to search for tickers of companies, ETFs, and cryptocurrencies.
Ticker Search Flutter Package #
A Flutter package for searching stock tickers in your app.
Features #
- Easy-to-use search widget for stock tickers.
- Customizable ticker suggestions with icons.
- Light and dark theme support.
- Material 3 design.
- Returns a
StockTicker
object with the selected ticker symbol.
Prerequisites #
Before you begin, ensure you have Flutter installed on your development machine. If you haven't, visit Flutter's official website to get started.
Installation #
Add ticker_search
to your pubspec.yaml
file:
dependencies:
ticker_search: ^0.0.8
stock_market_data: ^0.1.3
Usage #
Import the package:
import 'package:ticker_search/ticker_search.dart';
Use the TickerSearch
widget:
final SearchResult? result = await Navigator.push(
context,
MaterialPageRoute(
builder: (context) => TickerSearchPage(),
),
);
if (result != null) {
setState(() {
simplerExampleSelected = result.getTicker;
});
}
Example #
You can check the example application and see how to use the package.