glance_widget 0.7.0 copy "glance_widget: ^0.7.0" to clipboard
glance_widget: ^0.7.0 copied to clipboard

Create instant-updating home screen widgets for Android (Jetpack Glance) and iOS (WidgetKit). Supports Simple, Progress, List, Image, Chart, Calendar, and Gauge widget templates.

130/ 160
pub points
156
downloads

We analyzed this package 2 days ago, and awarded it 130 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.

packages/glance_widget/pubspec.yaml from the repository URL mismatch: expected https://github.com/abdullah017/glance_widget but got https://github.com/abdullahtas0/glance_widget.

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: glance_widget,
    • 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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

188 out of 207 API elements (90.8 %) have documentation comments.

Some symbols that are missing documentation: glance_widget.CalendarEvent.CalendarEvent.new, glance_widget.CalendarEvent.toMap, glance_widget.CalendarWidgetData.toMap, glance_widget.ChartWidgetData.toMap, glance_widget.GaugeMetric.toMap.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:glance_widget/glance_widget.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:glance_widget/glance_widget.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:glance_widget/glance_widget.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:glance_widget/glance_widget.dart that declares support for platforms: Android, iOS.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The default package glance_widget_ios does not contain ios/glance_widget_ios/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle.kts`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Failed report section
Support up-to-date dependencies
30 / 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
glance_widget_android ^0.5.0 0.5.0 2.0.1
glance_widget_ios ^0.5.0 0.5.0 2.0.1
glance_widget_platform_interface ^0.6.0 0.6.0 2.0.1
logging ^1.3.0 1.3.0 1.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.4.3 2.4.3

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

Found 3 issues. Showing the first 2:

The constraint `^0.5.0` on glance_widget_android does not support the stable version `1.0.0`.

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

The constraint `^0.5.0` on glance_widget_ios does not support the stable version `1.0.0`.

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

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.6, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
130
points
156
downloads

Documentation

API reference

Publisher

verified publisherabdullahtas.dev

Weekly Downloads

Create instant-updating home screen widgets for Android (Jetpack Glance) and iOS (WidgetKit). Supports Simple, Progress, List, Image, Chart, Calendar, and Gauge widget templates.

Topics

#widget #android #ios #glance #widgetkit

License

MIT (license)

Dependencies

flutter, glance_widget_android, glance_widget_ios, glance_widget_platform_interface, logging

More

Packages that depend on glance_widget

Packages that implement glance_widget