CommercioUI

CommercioUI reduces your overall blockchain app development time by 90% because of its pre-build clean Core+UI widgets that you can use in any flutter app development. We have spent one year to build this library to make to make your life easier.

Commercio UI Infographic

Core

Stateless

The Stateless part is just a lightweight layer built on top of the commercio-sdk. It's thought to give the maximum flexibility to the developer.

Example of usage when generating a new wallet:

final networkInfo = NetworkInfo(
  bech32Hrp: 'did:com:',
  lcdUrl: 'http://localhost:1317',
);

final wallet = await StatelessCommercioAccount.generateNewWallet()

Stateful

Stateful is built using the Stateless layer and give a custom state management for commercio-related operations. The operations are the same of the Stateless layer but state, storage and caching are provided out-of-the-box.

For example, can used with a Provider-ChangeNotifier/StateNotifier implementation to build a custom app without have to manage the commercio-related state.

UI

BLoC

If the project already uses or will be created using the BLoC library then CommercioUI provides a large set of blocs, events and states already implemented that can be integrated easily in the project.

Widgets

The Widgets supports and wraps 3 of the following widgets:

  • FlatButton
  • TextField
  • Text

The provided widgets directly use BLoC implementation to send, receive and handle events and states. With these widgets only the BLoC should be provided and then the interface can be built extremely fast.

Libraries

account_request_response
commercio_account_bloc
commercio_account_stateful
commercio_account_stateless
commercio_account_ui
commercio_coin
commercio_docs_bloc
commercio_docs_stateful
commercio_docs_stateless
commercio_docs_ui
commercio_id_bloc
commercio_id_keys
commercio_id_stateful
commercio_id_stateless
commercio_id_ui
commercio_membership_bloc
commercio_membership_stateful
commercio_membership_stateless
commercio_membership_ui
commercio_mint_bloc
commercio_mint_stateful
commercio_mint_stateless
commercio_mint_ui
commercio_state
commercio_text
commercio_text_field
commercio_ui
event_flat_button
export
export
export
export
export
export
export
export
export
export
export
export
export
http_helper
mnemonic_not_stored_exception
no_keys_found_exception
wallet_not_found_exception
wallet_with_address