Crypto Market is a highly customizable Flutter library that supports Coin Graph, Order Book, Order Volume, and Trade History.
Features
Usage
All Coins
AllCoin(
coinsList: coinsList,
currencyList: currencyList,
tickerList: tickerList,
showWishlistAtFirst: false,
currencyTabSelectedItemColor: Colors.red,
currencyTabBackgroundColor: Colors.transparent,
currencyTabHeight: 100,
showHeading: true,
inrRate: 77.0,
onCoinTap: (ctx, coin) {
/// ------ ///
},
);
Candle Chart
CandleChart(
coinData: coinsList.elementAt(0),
listedCoinGraphUrl: 'http://node.demo.com/orders/getohlc?symbol=TSTUSDT&interval=1m',
inrRate: 77.0,
);
Line Chart
LineChart(
coinData: coinsList.elementAt(4),
inrRate: 77.0,
intervalSelectedTextColor: Colors.red,
intervalTextSize: 20,
intervalUnselectedTextColor: Colors.black,
chartBorderColor: Colors.green,
showToolTip: false,
showInterval: false,
chartColor: LinearGradient(
colors: [
Colors.green.shade500.withOpacity(1),
Colors.green.shade500.withOpacity(0.9),
Colors.green.shade500.withOpacity(0.8),
Colors.green.shade500.withOpacity(0.7),
Colors.green.shade500.withOpacity(0.6),
Colors.green.shade500.withOpacity(0.5),
Colors.green.shade500.withOpacity(0.4),
Colors.green.shade500.withOpacity(0.3),
Colors.green.shade500.withOpacity(0.2),
Colors.green.shade500.withOpacity(0.1),
Colors.green.shade500.withOpacity(0.0),
],
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
),
toolTipBgColor: Colors.green.shade900,
toolTipTextColor: Colors.white,
);
Coin Order Book
CoinOrderBook(
coinData: coinsList.elementAt(0),
listedCoinOrderBookUrl: 'http://node.demo.com/orders/order-book?currency=TST&with_currency=USDT',
inrRate: 77.0,
);
Coin Order Volume
CoinOrderVolume(
coinData: coinsList.elementAt(0),
listedCoinOrderBookUrl: 'http://node.demo.com/orders/order-book?currency=TST&with_currency=USDT',
inrRate: 77.0,
);
Coin Trade History
CoinTradeHistory(
coinData: coinsList.elementAt(0),
listedCoinTradeHistoryAPIUrl: 'http://node.demo.com/orders/trade-book?currency=TST&with_currency=USDT',
itemCount: 15,
inrRate: 77,
);
Search Coin
CoinSearch(
coinsList: coinsList,
currencyList: currencyList,
tickerList: tickerList,
inrRate: 77.0,
);
Libraries
- crypto_market
- Crypto_Market/API/coin_fetch_graph_api
- Crypto_Market/GetX/all_coin_getx
- Crypto_Market/GetX/coin_chart_getx
- Crypto_Market/GetX/coin_order_volume_getx
- Crypto_Market/GetX/coin_trade_history_getx
- Crypto_Market/Model/candle
- Crypto_Market/Model/coin_model
- Crypto_Market/Model/coin_order_volume_model
- Crypto_Market/Model/coin_trade_history_model
- Crypto_Market/Screens/all_coin
- Crypto_Market/Screens/coin_candle_chart
- Crypto_Market/Screens/coin_line_chart
- Crypto_Market/Screens/coin_order_volume
- Crypto_Market/Screens/coin_search
- Crypto_Market/Screens/coin_trade_history
- Crypto_Market/Widgets/coin_card