dart_blocks 0.1.9 dart_blocks: ^0.1.9 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.1.9
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/dart_blocks/components/text_field_decoration.dart';
import 'package:dart_blocks/dart_blocks/models/auth.dart';
import 'package:dart_blocks/dart_blocks/softcorp_client.dart';
import 'package:dart_blocks/dart_blocks/user_block/user_block.dart';
import 'package:dart_blocks/dart_blocks/user_block_with_ui/AuthPage/LoginPage/login_page.dart';
import 'package:dart_blocks/dart_blocks/user_block_with_ui/AuthPage/RegisterPage/register_page.dart';
import 'package:dart_blocks/dart_blocks/user_block_with_ui/WelcomePage/welcome_page.dart';
import 'package:dart_blocks/dart_blocks/user_block_with_ui/user_block_with_ui.dart';
import 'package:dart_blocks/data_to/dataTo.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';