Code Monkey home page Code Monkey logo

ottawastem-flutter_bluetooth's Introduction

Flutter local dev can't use localhost or 127.0.0.1

VSCode extensions for Flutter

  • Dart
  • Error Lens
  • Flutter
  • GetX Snippets

Ctrl + . - Wrap or Extract Widget

  • Prettier - Code formatter
  • Dart Data Class generator
  • Bloc

flutter_boilerplate

Flutter Launcher Icons

flutter pub run flutter_launcher_icons

Flutter splach

flutter pub run flutter_native_splash:create

Local http request

Add '--disable-web-security' in the chrome web configuration.

  1. Go to flutter\bin\cache and remove a file named: flutter_tools.stamp
  2. Go to flutter\packages\flutter_tools\lib\src\web and open the file chrome.dart.
  3. Find '--disable-extensions'
  4. Add '--disable-web-security', # !!! Including ,(comma)

Flutter http: api vs client - ??? Django auth session ???

api: Single http request client: Multiple requests and a persistent connection

Flutter MVC+S Design Pattern

Model: lib\models View: lib\ui Controller: lib\providers Services: lib\services

Tools

QuickType - Convert JSON to Class

Vscode Extensions

Bloc Dart Data Class Generator

Bloc Shortcut

Click the light bulb Windows: Crtl + . Mac OS: Command + .

JSON to Dart

JSON to Dart

SVG Cleaner

SVG Cleaner Online

Flutter Default Config

C:\Tools\Flutter\packages\flutter_tools\gradle\flutter.gradle

Custom flutter_bluetooth_serial

Remove Location Permission didn't release yet in 0.4.0 Remove Location Permission

Scrollable Layout

1. SingleChildScrollView inside SafeArea

Scaffold(
    body: SafeArea(
        child: Column(children: <Widget>[
            Expanded(
                child: SingleChildScrollView(),
            )
        ]
    ),
);

2. ListView inside SafeArea

Scaffold(
    body: SafeArea(
        child: ListView(
        children: <Widget>[],
    ),
);

Bluetooth

https://pub.dev/packages/quick_blue

https://pub.dev/packages/flutter_reactive_ble https://pub.dev/packages/flutter_bluetooth_basic_v2 https://pub.dev/packages/flutter_blue https://pub.dev/packages/bluetooth_low_energy

https://pub.dev/packages/flutter_bluetooth_serial

F5 to run Flutter Debug

ottawastem-flutter_bluetooth's People

Contributors

ottawastem avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.