base_utils 0.0.11

  • README.md
  • Installing
  • Versions
  • 75

base_utils

A new flutter package project.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  base_utils: ^0.0.11

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:base_utils/data/base_utils.dart';
import 'package:base_utils/data/number_utils.dart';
import 'package:base_utils/data/string_format_utils.dart';
import 'package:base_utils/network/http_utils.dart';
import 'package:base_utils/system/navigation_utils.dart';
import 'package:base_utils/system/theme_utils.dart';
import 'package:base_utils/ui/base_list_widget.dart';
import 'package:base_utils/ui/error_loading.dart';
import 'package:base_utils/ui/network_aware_state.dart';
import 'package:base_utils/ui/res/color.dart';
import 'package:base_utils/ui/res/dimen.dart';
import 'package:base_utils/ui/res/image.dart';
import 'package:base_utils/ui/restart_widget.dart';
import 'package:base_utils/ui/scaless_text.dart';
import 'package:base_utils/video/chewie.dart';
import 'package:base_utils/video/chewie_player.dart';
import 'package:base_utils/video/chewie_progress_colors.dart';
import 'package:base_utils/video/cupertino_controls.dart';
import 'package:base_utils/video/cupertino_progress_bar.dart';
import 'package:base_utils/video/material_controls.dart';
import 'package:base_utils/video/material_progress_bar.dart';
import 'package:base_utils/video/player_with_controls.dart';
import 'package:base_utils/video/user_control_event.dart';
import 'package:base_utils/video/utils.dart';
  
Version Uploaded Documentation Archive
0.0.11 Oct 23, 2018 Go to the documentation of base_utils 0.0.11 Download base_utils 0.0.11 archive
0.0.10 Oct 20, 2018 Go to the documentation of base_utils 0.0.10 Download base_utils 0.0.10 archive
0.0.9 Oct 11, 2018 Go to the documentation of base_utils 0.0.9 Download base_utils 0.0.9 archive
0.0.8 Oct 10, 2018 Go to the documentation of base_utils 0.0.8 Download base_utils 0.0.8 archive
0.0.7 Oct 10, 2018 Go to the documentation of base_utils 0.0.7 Download base_utils 0.0.7 archive
0.0.6 Oct 10, 2018 Go to the documentation of base_utils 0.0.6 Download base_utils 0.0.6 archive
0.0.5 Oct 10, 2018 Go to the documentation of base_utils 0.0.5 Download base_utils 0.0.5 archive
0.0.4 Oct 10, 2018 Go to the documentation of base_utils 0.0.4 Download base_utils 0.0.4 archive
0.0.3 Oct 4, 2018 Go to the documentation of base_utils 0.0.3 Download base_utils 0.0.3 archive
0.0.2 Oct 2, 2018 Go to the documentation of base_utils 0.0.2 Download base_utils 0.0.2 archive

All 11 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
75
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
40
Overall:
Weighted score of the above. [more]
75
Learn more about scoring.

We analyzed this package on Dec 18, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7
  • Flutter: 1.0.0

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/ui/error_loading.dart. (-0.50 points)

Analysis of lib/ui/error_loading.dart reported 1 hint:

line 6 col 7: This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final).

Fix lib/ui/scaless_text.dart. (-0.50 points)

Analysis of lib/ui/scaless_text.dart reported 1 hint:

line 4 col 7: This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final).

Fix lib/video/chewie_player.dart. (-0.50 points)

Analysis of lib/video/chewie_player.dart reported 1 hint:

line 162 col 11: The value of the local variable 'isAndroid' isn't used.

Maintenance issues and suggestions

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use base_utils.dart.

Package is pre-v0.1 release. (-10 points)

While there is nothing inherently wrong with versions of 0.0.*, it usually means that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
connectivityswift ^0.0.4 0.0.4
flutter 0.0.0
flutter_svg ^0.6.0 0.6.3 0.8.2
flutter_youtube_extractor ^0.0.8 0.0.8
http ^0.11.3 0.11.3+17 0.12.0
intl ^0.15.7 0.15.7
open_iconic_flutter >=0.3.0 <0.4.0 0.3.0
settings ^0.0.4 0.0.4
video_player >=0.6.0 <0.7.0 0.6.5 0.8.0
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
http_parser 3.1.3
meta 1.1.6
path 1.6.2
path_drawing 0.4.0
path_parsing 0.1.3
petitparser 2.0.2
sky_engine 0.0.99
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6
vector_math 2.0.8
xml 3.2.3