rounded_background_text 0.5.0 copy "rounded_background_text: ^0.5.0" to clipboard
rounded_background_text: ^0.5.0 copied to clipboard

Text, TextField and TextSpan highlighted with rounded corners

90
likes
150/ 160
pub points
2.49k
downloads

We analyzed this package 21 hours ago, and awarded it 150 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: BSD-3-Clause.

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

109 out of 125 API elements (87.2 %) have documentation comments.

Some symbols that are missing documentation: rounded_background_text, rounded_background_text.RoundedBackgroundText.textHeightBehavior, rounded_background_text.RoundedBackgroundTextField.controller, rounded_background_text.RoundedBackgroundTextField.inputFormatters, rounded_background_text.RoundedBackgroundTextField.maxLines.

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

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

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: The import of 'dart:ui' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.

lib/src/rounded_background_text.dart:1:8

1import 'dart:ui';
  │        ^^^^^^^^^
  ╵
copied to clipboard

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

INFO: 'alpha' is deprecated and shouldn't be used. Use .a.

lib/src/rounded_background_text.dart:12:53

12return backgroundColor == null || backgroundColor.alpha == 0
   │                                                     ^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/rounded_background_text.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
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4

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.22.18, Flutter 3.29.0, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
May 20Jun 17Jul 15Aug 12Sep 9Oct 7Nov 4Dec 2Dec 30Jan 2702004006008001k1.2k1.4k1.6k>=0.0.0-0 <1.0.0
90
likes
150
points
2.49k
downloads

Publisher

verified publisherbdlukaa.dev

Weekly Downloads

2024.08.05 - 2025.02.17

Text, TextField and TextSpan highlighted with rounded corners

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on rounded_background_text