dart_blocks 0.0.40 dart_blocks: ^0.0.40 copied to clipboard
An SDK written in Dart to communicate with Softcorp Blocks and Cloud
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dart_blocks
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dart_blocks: ^0.0.40
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:dart_blocks/data_to/dataTo.dart';
import 'package:dart_blocks/os_mobile_blocks/models/auth.dart';
import 'package:dart_blocks/os_mobile_blocks/softcorp_client.dart';
import 'package:dart_blocks/os_mobile_blocks/user_block/user_block.dart';
import 'package:dart_blocks/os_mobile_blocks/user_block_cupertino/AuthPage/LoginPage/login_page.dart';
import 'package:dart_blocks/os_mobile_blocks/user_block_cupertino/AuthPage/RegisterPage/register_page.dart';
import 'package:dart_blocks/os_mobile_blocks/user_block_cupertino/WelcomePage/welcome_page.dart';
import 'package:dart_blocks/os_mobile_blocks/user_block_cupertino/user_block_cupertino.dart';
import 'package:dart_blocks/softcorp_authorize/softcorp_authorize.dart';
import 'package:dart_blocks/softcorp_credentials/softcorp_credentials.dart';
import 'package:dart_blocks/softcorp_credentials/softcorp_no_credentials.dart';