flutter_satang_pro_exchange 1.1.0 copy "flutter_satang_pro_exchange: ^1.1.0" to clipboard
flutter_satang_pro_exchange: ^1.1.0 copied to clipboard

outdated

library for calling API of the https://https://satang.pro

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:flutter_satang_pro_exchange/dao/api_key/satang_pro_api_key.dart';
import 'package:flutter_satang_pro_exchange/satang_pro_exchange.dart';
import 'package:flutter_satang_pro_exchange/satang_pro_order_type.dart';

Future main() async {

  SatangProExchangeService sp = SatangProExchangeService(
      userId: 7892,
      apiKeyUserInfo: SatangProApiKey(apiKey: "", secret: ""));

  await sp.fetchMarket(printJson: true);

  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('SATANG PRO'),
        ),
        body: Center(
          child: Text('SATANG PRO'),
        ),
      ),
    );
  }
}
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

library for calling API of the https://https://satang.pro

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, http, pointycastle

More

Packages that depend on flutter_satang_pro_exchange