Commit Graph
15 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 82322be783 fix bug preventing publishing for web (thanks @HiroshiHorie) 2021-08-11 12:16:20 -07:00
David Zhao 908c830b86 return connection error message, removed mediastream during publishing 2021-08-05 23:20:20 -07:00
David Zhao 1ca8b3fa0c fix analyze warnings 2021-08-04 23:21:54 -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 a47c50c3c1 Room to extend ChangeNotifier 2021-07-25 00:05:48 -07:00
David Zhao 0bd2679e94 signal & webrtc connections established 2021-07-23 23:56:06 -07:00
David Zhao 57c2ea91e5 Room implementation, library exports 2021-07-23 16:11:38 -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