harbor 0.1.0 copy "harbor: ^0.1.0" to clipboard
harbor: ^0.1.0 copied to clipboard

Keeps widgets clear of whatever covers each screen edge: system bars, the keyboard, and your own headers, tab bars and sheets. No inset arithmetic.

0.1.0 #

The first harbor.

  • Harbor, HarborSea: frames whose edges docks are built against, laid out in one pass (docks, then the body, then the buoys).
  • HarborDock.pier / .quay: measured docks that content sails under or starts beyond; wakes (HarborWake.fade, .hairline), tide stances (float, pilings, dry dock), states (open, dark, withdrawn) with extent policies, resting extents, minimums.
  • HarborCoast: the platform's insets, fixed coasts, HarborCoast.none, and TV title-safe.
  • HarborTide, HarborDryDock: the keyboard's height after it is consumed, its phase and its high-water mark.
  • Content: HarborMoored, HarborMooringLine, HarborFairway (vertical and horizontal, reveals widened by what covers the edge), HarborFairwaySliver, HarborSliverDock, HarborOpenWater, HarborCastOff, and the HarborWaters breakdown.
  • HarborMakeWay, HarborPontoon, HarborController: claims on an edge and docks moored from deep in the tree.
  • HarborBuoy (aligned, anchored, modal), HarborAnchor, HarborSignals.
  • showHarborSheet, HarborSheet (content-sized and draggable), breakwaters, showHarborDialog.
  • HarborLighthouse, HarborBeacon, HarborLighthouseRegion: reveal, keep in sight, lift, and coverage.
  • HarborScaleModel: a reference screen scaled to fit, with insets re-based.
  • HarborChart, HarborChartOverlay, and the ext.harbor.chart VM-service extension.
  • package:harbor/testing.dart: pumpSeaTrial, HarborTrialDevice presets and isInClearWater.
0
likes
0
points
311
downloads

Publisher

unverified uploader

Weekly Downloads

Keeps widgets clear of whatever covers each screen edge: system bars, the keyboard, and your own headers, tab bars and sheets. No inset arithmetic.

Repository (GitHub)
View/report issues

Topics

#layout #safe-area #keyboard #insets #widget

License

unknown (license)

Dependencies

flutter, flutter_test

More

Packages that depend on harbor