curtains 0.10.0 copy "curtains: ^0.10.0" to clipboard
curtains: ^0.10.0 copied to clipboard

Super simple scrim Curtains, or shadow decorations, by wrapping a scrollable child, alluding to unrevealed content while not at the start or end.

📜 Curtains #

WORK IN PROGRESS

[0.10.0] - 31 MAY 21 #

  • Code and documentation cleanup.
  • Constructor and parameter alterations:

[0.10.0] (now)

⬅️

[0.9.4+1] (before)

|

[0.10.0] (now)

⬅️

[0.9.4+1] (before)

Curtains Curtains.regal | Sensitivity sensitivity List<double> sensitivity
Curtains.instant Curtains.fancy | TextDirection textDirection TextDirection directionality
Curtains.elevated Curtains | bool endInitVisible bool endCurtainInitVisible

⭐ Also now available is bool startInitVisible.

Furthermore either startCurtain or endCurtain now accepts a more abstract Decoration?
as opposed to the restriction to BoxDecoration?.


[0.9.4+1] - 04 MAY 21 #

  • Removed erroneous print()

[0.9.4] - 30 APR 21 #

  • Added 🆕 parameters: endCurtainInitVisible, which should be self explanatory; and alignment, similarly so.

[0.9.3+1] - 25 APR 21 #

  • Corrected export 'package:flutter/widgets.dart';.

[0.9.3] - 24 APR 21 #

  • Divided package into two separate entities:
  • 🆕 Parameter: color for Curtains.
  • Curtains.elevation parameter is now decoupled from the keys in kElevationToShadow as Elevation.asBoxShadows will lerp if necessary.

[0.9.2] - 23 APR 21 #

  • 🐞 Bug fixed: Curtains.regal now properly respect initialized duration and curve.

[0.9.1] - 23 APR 21 #

  • 🆕 Parameter added: Curtains.clipBehavior
    • Default (and previous) behavior: Clip.hardEdge for easy BoxShadow support (otherwise they bleed over)
    • Initialize Clip.none to alter Widget tree depth & remove ClipRect from 📜 Curtains

[0.9.0]/[0.9.0+1] - 23 APR 21 #

7
likes
130
pub points
3%
popularity

Publisher

verified publisherzaba.app

Super simple scrim Curtains, or shadow decorations, by wrapping a scrollable child, alluding to unrevealed content while not at the start or end.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, shadows

More

Packages that depend on curtains