Month: January 2021
Flutter pusher with npusher
To deal with wrong data format response from backend with pusher via Laravel echo This example works both android and ios Lib Example
Flutter crop circles, background image, draggable, transparent hole
w_circle_crop.dart https://gist.github.com/nhancv/de4f0a3098894b273094968ab404c407
Flutter Insert text to TextField
Flutter sqflite: Persist data with SQLite
pubspec.yaml lib/services/local/migrate/migrate.dart lib/services/local/migrate/migrate_v1.dart lib/services/local/repo/base_model.dart lib/services/local/repo/base_repo.dart lib/services/local/repo/config_repo.dart lib/services/local/local_provider.dart lib/services/store/store.dart lib/services/store/store_mock.dart lib/services/store/store_local.dart
Flutter custom icon fonts
Gen icon fonts Access: https://icomoon.io/app/#/select Select tab “Selection”, select/upload svg fonts When you import your icons which exported from figma, may you face this error => To solve this, install…
Flutter pusher with Laravel echo
Fine app_key from websocket url protocal of pusher on web: wss://ws-mt1.pusher.com/app/xxxxxxxxxxxxxxxxxxxx?protocol=7&client=js&version=7.0.0&flash=false=> Pusher key = xxxxxxxxxxxxxxxxxxxx Implement on Flutter android/app/build.gradle android { buildTypes { debug { debuggable true signingConfig signingConfigs.debug }…
Flutter api persists the cookies in files, custom X-CSRF-TOKEN, csrf-cookie, XSRF-TOKEN
pubspec.yaml Init dio