A tool to facilitate rapid widget development.
Getting Started #
See the examples folder for a working test application.
- Make layout responsive
- Write a longer description
- Update dependencies
- Add test filtering
- Allow multiple child widgets to be displayed
blocversion to match
- 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:
dependencies: testbed: ^0.0.6
2. Install it
You can install packages from the command line:
$ 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]
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
lib/src/app.dart. (-1.99 points)
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
line 83 col 15: The value of the local variable 'primaryTextTheme' isn't used.
line 136 col 37: Name non-constant identifiers using lowerCamelCase.
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.
|Dart SDK||>=2.5.2 <3.0.0|