testbed 0.0.6

  • Readme
  • Changelog
  • Example
  • Installing
  • 50

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


import 'package:flutter/material.dart';
import 'package:test_app/tests/chips.dart';
import 'package:testbed/test_bed.dart';

import 'tests/button.dart';

void main() => runApp(TestBedApp(
    tests: [ButtonTest(), ChipTests()],
    theme: ThemeData(primaryColor: Colors.deepPurple)));

Use this package as a library

1. Depend on it

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

  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';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

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

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

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.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.5.2 <3.0.0
bloc ^3.0.0 3.0.0 4.0.0-dev.1
equatable ^1.0.3 1.1.1
flutter 0.0.0
flutter_bloc ^3.2.0 3.2.0 4.0.0-dev.1
meta ^1.0.0 1.1.8
recase ^3.0.0 3.0.0
shared_preferences ^0.5.6 0.5.6+3
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+2
rxdart 0.23.1 0.24.0-dev.1
shared_preferences_macos 0.0.1+6
shared_preferences_platform_interface 1.0.3
shared_preferences_web 0.1.2+4
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies