styled_text_advance 1.0.1+9 copy "styled_text_advance: ^1.0.1+9" to clipboard
styled_text_advance: ^1.0.1+9 copied to clipboard

Text widget with formatted text using tags. Makes it easier to use formatted text in multilingual applications.

1
likes
150/ 160
pub points
37%
popularity

We analyzed this package 6 days ago, and awarded it 150 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

60 out of 106 API elements (56.6 %) have documentation comments.

Some symbols that are missing documentation: custom_styled_text_advance, custom_styled_video, custom_styled_video.CustomVideoPlayerWithControls, custom_styled_video.CustomVideoPlayerWithControls.CustomVideoPlayerWithControls, custom_styled_video.CustomVideoPlayerWithControls.controller.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:styled_text_advance/styled_text_advance.dart that imports:
  • package:styled_text_advance/tags/styled_text_advance_tag_audio.dart that imports:
  • package:audioplayers/audioplayers.dart that imports:
  • package:audioplayers/src/source.dart that imports:
  • package:audioplayers/src/audioplayer.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/widgets/styled_text_advance.dart:268:7

    ╷
268 │       textScaleFactor: textScaleFactor ?? MediaQuery.textScaleFactorOf(context),
    │       ^^^^^^^^^^^^^^^
    ╵

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

INFO: 'textScaleFactorOf' is deprecated and shouldn't be used. Use textScalerOf instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/widgets/styled_text_advance.dart:268:54

    ╷
268 │       textScaleFactor: textScaleFactor ?? MediaQuery.textScaleFactorOf(context),
    │                                                      ^^^^^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
audioplayers ^6.0.0 6.0.0 6.0.0
cupertino_icons ^1.0.6 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
video_player ^2.8.4 2.8.7 2.8.7
xmlstream ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
audioplayers_android - 5.0.0 5.0.0
audioplayers_darwin - 6.0.0 6.0.0
audioplayers_linux - 4.0.0 4.0.0
audioplayers_platform_interface - 7.0.0 7.0.0
audioplayers_web - 5.0.0 5.0.0
audioplayers_windows - 4.0.0 4.0.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.1.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.6 2.2.6
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
video_player_android - 2.5.0 2.5.0
video_player_avfoundation - 2.6.1 2.6.1
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.1 2.3.1
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

1
likes
150
pub points
37%
popularity

Publisher

unverified uploader

Text widget with formatted text using tags. Makes it easier to use formatted text in multilingual applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

audioplayers, cupertino_icons, flutter, video_player, xmlstream

More

Packages that depend on styled_text_advance