baseplate 0.1.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • new69

baseplate #

A new Flutter package project.

Getting Started #

Import the Baseplate class. You can then use the helper functions to build responsive layouts easily.

I've included lots of breakpoints to give as much freedom as possible. You don't have to use all. Baseplate operates on a "up to" principle. If the screen width is less than or equal to your breakpoint (and there isn't one smaller) that's the one that will be used.

It's a 12 column layout, similar to Bootstrap on the web.

layout

code

[0.1.1] - 06/02/2019

  • Fixed logical error causing padding to display incorrectly when wrapping onto two rows.

[0.1.0] - 06/02/2019

  • Switched to FractionallySizedBoxes to enable nesting of rows. Could break layouts on some devices hence the version increase.

[0.0.3] - 06/02/2019

  • Removed unnecessary named parameters on the row constructor.
  • License added.

[0.0.1] - 06/02/2019.

  • Initial Release. See readme.md

Use this package as a library

1. Depend on it

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


dependencies:
  baseplate: ^0.1.1

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:baseplate/baseplate.dart';
  
Version Uploaded Documentation Archive
0.1.1 Feb 11, 2019 Go to the documentation of baseplate 0.1.1 Download baseplate 0.1.1 archive
0.1.0 Feb 11, 2019 Go to the documentation of baseplate 0.1.0 Download baseplate 0.1.0 archive
0.0.3 Feb 6, 2019 Go to the documentation of baseplate 0.0.3 Download baseplate 0.0.3 archive
0.0.2 Feb 6, 2019 Go to the documentation of baseplate 0.0.2 Download baseplate 0.0.2 archive
0.0.1 Feb 6, 2019 Go to the documentation of baseplate 0.0.1 Download baseplate 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
39
Health:
Code health derived from static analysis. [more]
97
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
69
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.13+1
  • Flutter: 1.2.1

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/baseplate.dart. (-2.96 points)

Analysis of lib/baseplate.dart reported 6 hints, including:

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: bpCol.w360, bpCol.w540, bpCol.w720, bpCol.w1024, bpCol.w1200, bpCol.w1500, bpCol.w2000, bpCol.w2500, bpCol.child, bpCol.colCount, bpCol.gutter, bpCol.colWidth, bpCol.leftPadding, bpCol.rightPadding

line 11 col 7: Name types using UpperCamelCase.

line 88 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: bpRow.gutter, bpRow.padding, bpRow.runSpacing, bpRow.children

line 88 col 7: Name types using UpperCamelCase.

line 103 col 9: The value of the local variable 'i' isn't used.

Maintenance suggestions

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and baseplate.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test