Skip to main content

likerts 0.0.3 copy "likerts: ^0.0.3" to clipboard
likerts: ^0.0.3 copied to clipboard

Embed typed surveys and feedback in Flutter applications with collection credentials, native controls, and host-owned presentation.

140/ 160
pub points
286
downloads

We analyzed this package 26 hours ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

7 out of 208 API elements (3.4 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: advanced_questions, advanced_questions.allocationRemaining, advanced_questions.moveRanking, advanced_questions.setMatrixChoice, advanced_questions.validAllocation.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: Statements in a for should be enclosed in a block.

lib/branching.dart:7:893

  ╷
7 │ class SurveyFlow{final Collection collection;late Map<String,dynamic> _answers;late List<int> _route;late List<int> _history;late int _current;SurveyFlow(this.collection,[Map<String,dynamic> answers=const{}]){_answers=routedAnswers(collection,{...answers});_route=pageRoute(collection,_answers);_current=_route.firstOrNull??0;_history=[_current];}SurveyPage get page=>_pages(collection)[_current];Map<String,dynamic> get answers=>Map.unmodifiable(_answers);SurveyProgress get progress=>SurveyProgress(_current+1,_pages(collection).length,_history.length);void setAnswer(String id,dynamic value){final old=[..._history];if(value==null){_answers.remove(id);}else{_answers[id]=value;}_answers=routedAnswers(collection,_answers);_route=pageRoute(collection,_answers);if(!_route.contains(_current)){var shared=_route.firstOrNull??0;for(var i=0;i<old.length&&i<_route.length&&old[i]==_route[i];i++)shared=_route[i];_current=shared;}_history=_route.take(_route.indexOf(_current)+1).toList();}bool next(){final index=_ro
[...]

To reproduce make sure you are using the lints_core and run flutter analyze lib/branching.dart

INFO: Statements in an if should be enclosed in a block.

lib/offline_queue.dart:144:7

    ╷
144 │       throw StateError('native Keychain/Keystore AES-GCM adapter required');
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/offline_queue.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
http ^1.6.0 1.6.0 1.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
286
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Embed typed surveys and feedback in Flutter applications with collection credentials, native controls, and host-owned presentation.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#surveys #feedback #likert #sdk

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on likerts