smartpos_flutter 0.0.1 copy "smartpos_flutter: ^0.0.1" to clipboard
smartpos_flutter: ^0.0.1 copied to clipboard

outdated

SmartPOS plugin for flutter

Elgin SmartPOS #

Plugin Elgin SmartPOS para flutter. O plugin ainda esta em desenvolvimento e pode conter erros.

Exemplo #

void initElgin() {
  // (OPCIONAL) Caso deseje configurar o tema, configurar antes de chamar o init.
  ElginPAY.configTema(
    corFonte: Colors.black,
	corFundoTela: Colors.white,
  );

  // Inicializa a biblioteca.
  ElginPAY.init(
    empresaAutomacao: "Empresa",
	nomeAutomacao: "Empresa",
	versaoAutomacao: "versaoAutomacao",
  );

 // (OPCIONAL) Definir manualmente os textos das dialogs.
 // Nao e necessario definir todos os campos
 ElginPAY.configurarTexto(
    dialogText: DialogText.ERRO_IMPRESSAO,
	title: "ERROR",
  );
}

void administrativa() {
  ElginPAY.transactionCall(operacao: Operacoes.ADMINISTRATIVA);
}

void imprimir() {
  ElginPAY.imprimirStrings(<String>[
    'Teste Impressao',
	  'Linha 2',
	  'Linha 3',
  ]);
}

Como Usar #

  • Adicionar ao yaml dependencies do arquivo pubspec.yaml
smartpos_flutter:
   git:
      url: https://github.com/NishiyamaPedro/smartpos_flutter.git
      ref: master
  • Adicionar as bibliotecas no build.gradle dentro da pasta 'Android/app/', como descrito no manual de integracao da Elgin.

-Repositorio Elgin SmartPOS.

0
likes
0
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

SmartPOS plugin for flutter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on smartpos_flutter

Packages that implement smartpos_flutter