testbed 0.0.6

test_bed #

A tool to facilitate rapid widget development.

Getting Started #

See the examples folder for a working test application.

0.0.6 #

  • Make layout responsive

0.0.5 #

  • Write a longer description

0.0.4 #

  • Update dependencies
  • Add test filtering

0.0.3 #

  • Allow multiple child widgets to be displayed

0.0.2 #

  • Change bloc version to match flutter_bloc requirements.

0.0.1 #

  • First working version with basic hot reload support

example/README.md

test_app #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

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


dependencies:
  testbed: ^0.0.6

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:testbed/bloc/shell_bloc.dart';
import 'package:testbed/bloc/shell_event.dart';
import 'package:testbed/bloc/shell_state.dart';
import 'package:testbed/test_bed.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
25
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
60
Learn more about scoring.

We analyzed this package on Feb 19, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7

Health suggestions

Fix lib/src/app.dart. (-1.99 points)

Analysis of lib/src/app.dart reported 4 hints:

line 11 col 7: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: TestBedApp.bloc

line 14 col 13: Close instances of dart.core.Sink.

line 83 col 15: The value of the local variable 'primaryTextTheme' isn't used.

line 136 col 37: Name non-constant identifiers using lowerCamelCase.

Maintenance suggestions

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

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

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.5.2 <3.0.0
bloc ^3.0.0 3.0.0
equatable ^1.0.3 1.1.0
flutter 0.0.0
flutter_bloc ^3.2.0 3.2.0
meta ^1.0.0 1.1.8
recase ^3.0.0 3.0.0
shared_preferences ^0.5.6 0.5.6+1
Transitive dependencies
collection 1.14.11 1.14.12
flutter_web_plugins 0.0.0
nested 0.0.4
provider 4.0.4 4.1.0-dev
rxdart 0.23.1
shared_preferences_macos 0.0.1+5
shared_preferences_platform_interface 1.0.1
shared_preferences_web 0.1.2+3
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test