Crypto Market is a highly customizable Flutter library that supports Coin Graph, Order Book, Order Volume, and Trade History.
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) {
/// ------ ///
},
);
CandleChart(
coinData: coinsList.elementAt(0),
listedCoinGraphUrl: 'http://node.demo.com/orders/getohlc?symbol=TSTUSDT&interval=1m',
inrRate: 77.0,
);
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,
);
CoinOrderBook(
coinData: coinsList.elementAt(0),
listedCoinOrderBookUrl: 'http://node.demo.com/orders/order-book?currency=TST&with_currency=USDT',
inrRate: 77.0,
);
CoinOrderVolume(
coinData: coinsList.elementAt(0),
listedCoinOrderBookUrl: 'http://node.demo.com/orders/order-book?currency=TST&with_currency=USDT',
inrRate: 77.0,
);
CoinTradeHistory(
coinData: coinsList.elementAt(0),
listedCoinTradeHistoryAPIUrl: 'http://node.demo.com/orders/trade-book?currency=TST&with_currency=USDT',
itemCount: 15,
inrRate: 77,
);
CoinSearch(
coinsList: coinsList,
currencyList: currencyList,
tickerList: tickerList,
inrRate: 77.0,
);