Commit Graph
8 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 908c830b86 return connection error message, removed mediastream during publishing 2021-08-05 23:20:20 -07:00
David Zhao 86fc303e61 updated proto, publishing details 2021-08-04 11:45:11 -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
David Zhao b28466842f RTCEngine and SignalClient 2021-07-20 15:38:30 -07:00
David Zhao 941bbbdc32 initial commit, with generated protobufs 2021-07-16 15:29:06 -07:00