Skip to content

Instantly share code, notes, and snippets.

View shingo-mori's full-sized avatar

Shingo Mori shingo-mori

View GitHub Profile
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart' as widgets;
import 'package:permission_handler/permission_handler.dart';
import 'package:flutter_integration_sample/scan_bloc.dart';
class ScanView extends StatefulWidget {
@override
State<StatefulWidget> createState() => _ScanViewState();
import 'dart:async';
import 'dart:ui';
import 'package:scandit_flutter_datacapture_barcode/scandit_flutter_datacapture_barcode.dart';
import 'package:scandit_flutter_datacapture_barcode/scandit_flutter_datacapture_barcode_capture.dart';
import 'package:scandit_flutter_datacapture_core/scandit_flutter_datacapture_core.dart';
const String licenseKey = 'AfeCTXVfRq2YPHgW8TFeSSwGXJXGAYbWKkqcvrlKHEhSfEBsF3phC4lE+WUTWSP52isK0gQSUGQAUIYI0mt/cvNETJknZfBYWwTEBttgjoibRyGfJkLvz8BeBfoFc++QHkOZe6lFiLUoW7X1NlS/x6d+ExVAQ7Wrekhix442XQj4byuK6nqpnMhW2gIFNteLH3noYalQVl6yfAO9Ln0iKtt1xo7aUA5R1VICz+hq+kOjS0+S52HzbxlqORFQZMWPZU1LaYssrr5KbyZezjD8BqdiIOBjc5zHaG3XWqZJscAIc9IPUlg/UxJD/NEya9JyD0GtJ8tp6cAAdrxV6k2XVetdbR3XY3zUW0+DuPt9TJ8eWK43lS9rZot/2oL0Up9v9D2e4dllpXVZaxQCxUXRbq9yqFGmYs8q8m+kmaxGv3u6L09hBmcc9nRtwCm6SAcEj0AJxRR0/wV0Ay3RvFwa2BNDL74/ftLwU3THgepCAAAbIpZrjHsIxiFYMVb+XeuzShCqMHMqk9tdDUzdTjxeckvvGi+7G6LBsyBuIzvgSHQlBJw6qyTo6vCiS4WPFVtANCplfn4U5XdQt/bTr9ZcfRih6QZA/NlADDaQr1+PvJQbLnPbpFRaCXkyuAazN6gNyKZvKox3mwbC4ZkHDJSFZMZE35FYx
@shingo-mori
shingo-mori / .vimrc
Last active July 17, 2018 15:05
my vim settings
" ----------------------------------------------------------------------------
" KEY MAPS
" ----------------------------------------------------------------------------
let mapleader = ","
let maplocalleader = ","
" Useful macros
nnoremap \a :set formatoptions+=a<CR>:echo "autowrap enabled"<CR>
@shingo-mori
shingo-mori / .tmux.conf
Last active July 7, 2018 03:19
my tmux settings
# global options
set -g mode-keys vi
set -g bell-action none
set -g visual-bell off
set -g display-panes-time 2000
set -g allow-rename off
set -g mouse on
# key bindings
## change prefix key from C-b to C-t