Commit Graph
11 Commits
Author SHA1 Message Date
Hiroshi HorieandGitHub ab31ddabb9 Apply Flutter best practices [Non-Breaking] (#2)
* Add flutter_lints package

* Use key in widget constructors

lint: use_key_in_widget_constructors

* Unnecessary new keyword

lint: unnecessary_new

* Prefer const with constant constructors

* Exclude protobuf files from analyzer

* Private field could be final

* Annotate overridden members

* Use initializing formals when possible

* Don't access members with `this` unless avoiding shadowing

* Prefer is! operator

* Use isEmpty instead of length

* Use collection literals when possible

* Revert comment changes

* Cleaner null testing

* Misc fixes

* Avoid using `forEach` with a function literal

* Prefer `final` over `var` where applicable

* Enforce stricter type-checking

* Ignore VS Code files

* Flutter format

* Prefer using lowerCamelCase for constant names

* flutter format -l 100

* Disable `avoid_print` for examples

* Slight improvements to example

Should solve lint error: no_logic_in_create_state
2021-08-31 16:35:07 +09:00
David Zhao d011bc7d3d Documentation 2021-08-30 15:31:12 -07:00
David Zhao 3a26044399 manually handle audio tracks for web 2021-08-26 22:58:04 -07:00
David Zhao 509a037936 feature: switch between front and back cameras 2021-08-06 21:20:21 -07:00
David Zhao 8cd7546d2f minor tweaks & cleanup 2021-08-04 22:52:16 -07:00
David Zhao 593890331e connectivity handling, audio publishing 2021-08-04 10:59:41 -07:00
David Zhao aec2003140 video rendering, local track creation 2021-08-03 10:25:00 -07:00
David Zhao d193b9fb7f Participant ChangeNotifier 2021-07-25 22:22:11 -07:00
David Zhao b18c37fd1a implemented tracks, local & remote participants 2021-07-21 23:30:24 -07:00
David Zhao 0a682f7831 checkpoint - participant & tracks initial stubs 2021-07-20 23:08:37 -07:00
David Zhao b28466842f RTCEngine and SignalClient 2021-07-20 15:38:30 -07:00