sampler 0.2.6 copy "sampler: ^0.2.6" to clipboard
sampler: ^0.2.6 copied to clipboard

discontinued
outdated

A specialized utility for managing sample code in the Flutter repo.

60/ 160
pub points
3
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: sampler.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: sampler,
    • contains a version property, and,
    • does not contain a publish_to property.

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: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

42 out of 100 API elements (42.0 %) have documentation comments.

Some symbols that are missing documentation: constants, detail_view, detail_view.DetailView.DetailView.new, helper_widgets, helper_widgets.ActionPanel.ActionPanel.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:sampler/sampler.dart that imports:
  • package:sampler/utils.dart that imports:
  • package:snippets/snippets.dart that imports:
  • package:snippets/util.dart that imports:
  • package:snippets/data_types.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 14 issues. Showing the first 2:

ERROR: The getter 'bodyText2' isn't defined for the type 'TextTheme'.

lib/helper_widgets.dart:23:62

   ╷
23 │     final TextStyle labelStyle = Theme.of(context).textTheme.bodyText2!;
   │                                                              ^^^^^^^^^
   ╵

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

ERROR: The getter 'bodyText2' isn't defined for the type 'TextTheme'.

lib/helper_widgets.dart:82:62

   ╷
82 │     final TextStyle labelStyle = Theme.of(context).textTheme.bodyText2!;
   │                                                              ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
analyzer ^2.0.0 2.8.0 10.0.0
args ^2.0.0 2.7.0 2.7.0
convert ^3.0.1 3.1.2 3.1.2
crypto ^3.0.1 3.0.7 3.0.7
file ^6.1.0 6.1.4 7.0.1
flutter_highlight ^0.7.0 0.7.0 0.7.0
meta ^1.7.0 1.17.0 1.17.0
path ^1.8.0 1.9.1 1.9.1
platform ^3.0.0 3.1.6 3.1.6
process ^4.2.1 4.2.4 5.0.5
process_runner ^4.0.0 4.1.3 4.2.4
recase ^4.0.0 4.1.0 4.1.0
snippets ^0.2.3 0.2.5 0.4.3 Discontinued
watcher ^1.0.0 1.2.1 1.2.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 31.0.0 93.0.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
cli_util - 0.3.5 0.4.2
collection - 1.19.1 1.19.1
dart_style - 2.2.1 3.1.3
glob - 2.1.3 2.1.3
highlight - 0.7.0 0.7.0
interval_tree - 0.3.0 0.4.1
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
package_config - 2.2.0 2.2.0
pub_semver - 2.2.0 2.2.0
quiver - 3.2.2 3.2.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
yaml - 3.1.3 3.1.3

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

Found 5 issues. Showing the first 2:

The constraint `^2.0.0` on analyzer does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

The constraint `^6.1.0` on file does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions file to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 6 errors:

  • UNDEFINED_GETTER - lib/helper_widgets.dart:23:62 - The getter 'bodyText2' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/helper_widgets.dart:82:62 - The getter 'bodyText2' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/main.dart:405:34 - The getter 'subtitle1' isn't defined for the type 'TextTheme'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
3
downloads

Publisher

unverified uploader

Weekly Downloads

A specialized utility for managing sample code in the Flutter repo.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, convert, crypto, file, flutter, flutter_highlight, meta, path, platform, process, process_runner, recase, snippets, watcher

More

Packages that depend on sampler