flutter_bx_exchange 1.0.0 flutter_bx_exchange: ^1.0.0 copied to clipboard
Flutter BX Exchange is a Flutter's library for calling API of the https://bx.in.th.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_bx_exchange
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_bx_exchange: ^1.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_bx_exchange/bx_auth_utils.dart';
import 'package:flutter_bx_exchange/bx_exchange_service.dart';
import 'package:flutter_bx_exchange/bx_pair_currency.dart';
import 'package:flutter_bx_exchange/bx_pair_currency_manager.dart';
import 'package:flutter_bx_exchange/bx_trade_type.dart';
import 'package:flutter_bx_exchange/bx_transaction_type.dart';
import 'package:flutter_bx_exchange/bx_utils.dart';
import 'package:flutter_bx_exchange/bx_withdraw_transaction_type.dart';
import 'package:flutter_bx_exchange/dao/apiKey/bx_api_key.dart';
import 'package:flutter_bx_exchange/dao/balance/bx_balance_currency_dao.dart';
import 'package:flutter_bx_exchange/dao/balance/bx_balance_dao.dart';
import 'package:flutter_bx_exchange/dao/balance/bx_balance_response_dao.dart';
import 'package:flutter_bx_exchange/dao/cancel_order/bx_cancel_order_response_dao.dart';
import 'package:flutter_bx_exchange/dao/create_order/bx_cretae_order_response_dao.dart';
import 'package:flutter_bx_exchange/dao/current_pairings/bx_current_pairings_dao.dart';
import 'package:flutter_bx_exchange/dao/current_pairings/bx_pair_curency_meta_dao.dart';
import 'package:flutter_bx_exchange/dao/get_deposit_address/bx_deposit_address_dao.dart';
import 'package:flutter_bx_exchange/dao/get_order/bx_open_order_detail_dao.dart';
import 'package:flutter_bx_exchange/dao/get_order/bx_open_order_response_dao.dart';
import 'package:flutter_bx_exchange/dao/historical_trade_data/bx_historical_trade_data_dao.dart';
import 'package:flutter_bx_exchange/dao/historical_trade_data/bx_historical_trade_data_response_dao.dart';
import 'package:flutter_bx_exchange/dao/market_data/bx_market_data_dao.dart';
import 'package:flutter_bx_exchange/dao/market_data/bx_order_book_volume_dao.dart';
import 'package:flutter_bx_exchange/dao/market_data/bx_pair_currency_dao.dart';
import 'package:flutter_bx_exchange/dao/market_data/bx_volume_data_dao.dart';
import 'package:flutter_bx_exchange/dao/order_book/bx_order_book_dao.dart';
import 'package:flutter_bx_exchange/dao/order_book/bx_order_book_detail_dao.dart';
import 'package:flutter_bx_exchange/dao/recent_trade/bx_order_detail_dao.dart';
import 'package:flutter_bx_exchange/dao/recent_trade/bx_recent_trade_dao.dart';
import 'package:flutter_bx_exchange/dao/recent_trade/bx_trade_dao.dart';
import 'package:flutter_bx_exchange/dao/transaction_history/bx_transaction_detail_dao.dart';
import 'package:flutter_bx_exchange/dao/transaction_history/bx_transaction_history_dao.dart';
import 'package:flutter_bx_exchange/dao/withdraw_history/bx_withdraw_history_dao.dart';
import 'package:flutter_bx_exchange/dao/withdraw_history/bx_withdraw_transaction_dao.dart';