matex_financial 0.0.30 matex_financial: ^0.0.30 copied to clipboard
An assortment of helpful tools and calculators specifically designed for use within the financial sector.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add matex_financial
With Flutter:
$ flutter pub add matex_financial
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
matex_financial: ^0.0.30
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:matex_financial/blocs/blocs.dart';
import 'package:matex_financial/blocs/currency.bloc.dart';
import 'package:matex_financial/blocs/events/currency.event.dart';
import 'package:matex_financial/blocs/events/events.dart';
import 'package:matex_financial/blocs/events/financial_instruments.event.dart';
import 'package:matex_financial/blocs/events/instrument_favorite.event.dart';
import 'package:matex_financial/blocs/fields/fields.dart';
import 'package:matex_financial/blocs/fields/forex_pip_value_calculator_bloc.fields.dart';
import 'package:matex_financial/blocs/fields/forex_position_size_calculator_bloc.fields.dart';
import 'package:matex_financial/blocs/fields/profit_and_loss_calculator.fields.dart';
import 'package:matex_financial/blocs/fields/stock_position_size_calculator.fields.dart';
import 'package:matex_financial/blocs/fields/vat_calculator.fields.dart';
import 'package:matex_financial/blocs/financial.bloc.dart';
import 'package:matex_financial/blocs/financial_instrument_favorites.bloc.dart';
import 'package:matex_financial/blocs/financial_instruments.bloc.dart';
import 'package:matex_financial/blocs/forex_pip_value_calculator.bloc.dart';
import 'package:matex_financial/blocs/forex_position_size_calculator.bloc.dart';
import 'package:matex_financial/blocs/instrument_pairs.bloc.dart';
import 'package:matex_financial/blocs/keys/forex_pip_value_calculator_bloc.keys.dart';
import 'package:matex_financial/blocs/keys/forex_position_calculator_bloc.keys.dart';
import 'package:matex_financial/blocs/keys/keys.dart';
import 'package:matex_financial/blocs/keys/profit_and_loss_calculator.keys.dart';
import 'package:matex_financial/blocs/keys/stock_position_size_calculator_bloc.key.dart';
import 'package:matex_financial/blocs/keys/vat_calculator_bloc.key.dart';
import 'package:matex_financial/blocs/profit_and_loss_calculator.bloc.dart';
import 'package:matex_financial/blocs/results/forex_pip_value_calculator_bloc.results.dart';
import 'package:matex_financial/blocs/results/forex_position_size_calculator_bloc.results.dart';
import 'package:matex_financial/blocs/results/profit_and_loss_calculator.results.dart';
import 'package:matex_financial/blocs/results/results.dart';
import 'package:matex_financial/blocs/results/stock_position_size_calculator.results.dart';
import 'package:matex_financial/blocs/results/vat_calculator.results.dart';
import 'package:matex_financial/blocs/states/currency.state.dart';
import 'package:matex_financial/blocs/states/financial_instruments.state.dart';
import 'package:matex_financial/blocs/states/forex_pip_value_calculator.state.dart';
import 'package:matex_financial/blocs/states/forex_position_size_calculator.state.dart';
import 'package:matex_financial/blocs/states/instrument_favorite.state.dart';
import 'package:matex_financial/blocs/states/profit_and_loss_calculator.state.dart';
import 'package:matex_financial/blocs/states/states.dart';
import 'package:matex_financial/blocs/states/stock_position_size_calculator_bloc.state.dart';
import 'package:matex_financial/blocs/states/vat_bloc.state.dart';
import 'package:matex_financial/blocs/stock_position_size_calculator.bloc.dart';
import 'package:matex_financial/blocs/vat_calculator.bloc.dart';
import 'package:matex_financial/calculators/calculators.dart';
import 'package:matex_financial/calculators/forex_pip_value.calculator.dart';
import 'package:matex_financial/calculators/forex_position_size.calculator.dart';
import 'package:matex_financial/calculators/profit_and_loss.calculator.dart';
import 'package:matex_financial/calculators/results/forex_pip_value_calculator.results.dart';
import 'package:matex_financial/calculators/results/forex_position_size_calculator.results.dart';
import 'package:matex_financial/calculators/results/profit_and_loss_calculator.results.dart';
import 'package:matex_financial/calculators/results/results.dart';
import 'package:matex_financial/calculators/results/stock_position_size_calculator.results.dart';
import 'package:matex_financial/calculators/results/vat_calculator.results.dart';
import 'package:matex_financial/calculators/states/forex_pip_value_calculator.state.dart';
import 'package:matex_financial/calculators/states/forex_position_size_calculator.state.dart';
import 'package:matex_financial/calculators/states/profit_and_loss.state.dart';
import 'package:matex_financial/calculators/states/states.dart';
import 'package:matex_financial/calculators/states/stock_position_size_calculator.state.dart';
import 'package:matex_financial/calculators/states/vat_calculator.state.dart';
import 'package:matex_financial/calculators/stock_position_size.calculator.dart';
import 'package:matex_financial/calculators/vat.calculator.dart';
import 'package:matex_financial/financial.dart';
import 'package:matex_financial/generators/generators.dart';
import 'package:matex_financial/generators/pdfs/forex_pip_value.pdf_generator.dart';
import 'package:matex_financial/generators/pdfs/forex_position_size.pdf_generator.dart';
import 'package:matex_financial/generators/pdfs/pdf.generators.dart';
import 'package:matex_financial/generators/pdfs/profit_and_loss.pdf_generator.dart';
import 'package:matex_financial/generators/pdfs/stock_position_size.pdf_generator.dart';
import 'package:matex_financial/generators/pdfs/vat.pdf_generator.dart';
import 'package:matex_financial/helpers/discount.helper.dart';
import 'package:matex_financial/helpers/helpers.dart';
import 'package:matex_financial/helpers/instrument_favorite.helper.dart';
import 'package:matex_financial/helpers/stock_position_size.helper.dart';
import 'package:matex_financial/helpers/tip.helpers.dart';
import 'package:matex_financial/helpers/vat.helpers.dart';
import 'package:matex_financial/logic/constants.dart';
import 'package:matex_financial/logic/enums/calculator_default_values.enum.dart';
import 'package:matex_financial/logic/enums/enums.dart';
import 'package:matex_financial/logic/enums/position.enum.dart';
import 'package:matex_financial/logic/enums/position_size.enum.dart';
import 'package:matex_financial/logic/interfaces/financial_instrument_calculator_bloc_fields.interface.dart';
import 'package:matex_financial/logic/interfaces/interfaces.dart';
import 'package:matex_financial/logic/jobs/financial_instrument_favorites.job.dart';
import 'package:matex_financial/logic/jobs/financial_instruments.job.dart';
import 'package:matex_financial/logic/jobs/jobs.dart';
import 'package:matex_financial/logic/logic.dart';
import 'package:matex_financial/logic/mixins/calculator_formatter.mixin.dart';
import 'package:matex_financial/logic/mixins/lot_size.mixin.dart';
import 'package:matex_financial/logic/mixins/mixins.dart';
import 'package:matex_financial/logic/services/abstracts/abstracts.dart';
import 'package:matex_financial/logic/services/abstracts/financial_instrument.service.dart';
import 'package:matex_financial/logic/services/abstracts/metadata.service.dart';
import 'package:matex_financial/logic/services/financial_instrument_metadata.service.dart';
import 'package:matex_financial/logic/services/financial_instrument_pair_metadata.service.dart';
import 'package:matex_financial/logic/services/services.dart';
import 'package:matex_financial/models/instrument.model.dart';
import 'package:matex_financial/models/instrument_favorite.model.dart';
import 'package:matex_financial/models/instrument_format_metadata.model.dart';
import 'package:matex_financial/models/instrument_metadata.model.dart';
import 'package:matex_financial/models/instrument_name_metadata.dart';
import 'package:matex_financial/models/instrument_symbol_metadata.model.dart';
import 'package:matex_financial/models/instrument_type_metadata.model.dart';
import 'package:matex_financial/models/models.dart';
import 'package:matex_financial/models/pair_lot_unit_metadata.model.dart';
import 'package:matex_financial/models/pair_lots_metadata.model.dart';
import 'package:matex_financial/models/pair_metadata.model.dart';
import 'package:matex_financial/models/pair_pip_metadata.model.dart';
import 'package:matex_financial/models/pair_type_metadata.model.dart';
import 'package:matex_financial/models/quote.model.dart';
import 'package:matex_financial/persistence/data_providers/data_providers.dart';
import 'package:matex_financial/persistence/data_providers/forex_pip_value_calculator.data_provider.dart';
import 'package:matex_financial/persistence/data_providers/forex_position_size_calculator.data_provider.dart';
import 'package:matex_financial/persistence/data_providers/instrument_favorite.data_provider.dart';
import 'package:matex_financial/persistence/data_providers/profit_and_loss.data_provider.dart';
import 'package:matex_financial/persistence/data_providers/stock_position_size_calculator.data_provider.dart';
import 'package:matex_financial/persistence/data_providers/vat_calculator.data_provider.dart';
import 'package:matex_financial/persistence/documents/documents.dart';
import 'package:matex_financial/persistence/documents/forex_pip_value_calculator.document.dart';
import 'package:matex_financial/persistence/documents/forex_position_size_calculator.document.dart';
import 'package:matex_financial/persistence/documents/instrument_favorite.document.dart';
import 'package:matex_financial/persistence/documents/profit_and_loss_calculator.document.dart';
import 'package:matex_financial/persistence/documents/stock_position_size_calculator.document.dart';
import 'package:matex_financial/persistence/documents/vat_calculator.document.dart';
import 'package:matex_financial/persistence/persistence.dart';
import 'package:matex_financial/validators/forex_pip_value.validator.dart';
import 'package:matex_financial/validators/forex_position_size.validator.dart';
import 'package:matex_financial/validators/profit_and_loss.validator.dart';
import 'package:matex_financial/validators/stock_position_size.validator.dart';
import 'package:matex_financial/validators/validators.dart';
import 'package:matex_financial/validators/vat.validator.dart';