surface 0.2.0+7 surface: ^0.2.0+7 copied to clipboard
Shapeable, layered, intrinsincally animated container with convenient access to blurry ImageFilters, InkResponse, and HapticFeedback.
[0.2.0+6] & [0.2.0+7] - 12 APR 21 #
- Migrated package to sound null safety.
- Cleaned up internal [SurfaceFilterSpec] code a bit while adding relevant
constants
- One [DEFAULT_SPEC] is used by a
new
🌟 [Surface] - And several more that are
const
options for 👓 [filteredLayers]:Set<SurfaceLayer>
that resemble old [SurfaceFilter]enum
- One [DEFAULT_SPEC] is used by a
- 🔰 [BiBeveledShape.build] becomes 🔰 [SurfaceShape.biBeveledRectangle] for growth potential
- Removed
fullPrint
andscaleAxis
.
[0.1.0+5] - 04 APR 21 #
- Added [Surface.baseRadius].
- 🔘 [baseRadius] may be specified separately from [radius], but is optional and will only impact the 📚 [SurfaceLayer.BASE].
- If not provided, uses [Surface.radius], which itself defaults to [Surface._RADIUS]
== 3.0
.
- Added [SurfaceFilterSpec.extendBaseFilter] boolean which will apply the 📚
BASE
blurry filter to the [Surface.margin].
[0.0.5+4] - 02 APR 21 #
- Further modification to initialization parameters for Surface constructor.
- Filter strength and the [SurfaceLayer]s on which they are enabled are now set and mapped with a bespoke [SurfaceFilterSpec] Object.
- Enable blurry filters by passing the desired [SurfaceLayer]s into [SurfaceFilterSpec.filteredLayers] as a
Set
. - Strength radii can be initialized formally or with a
Map<SurfaceLayer, double>
called [SurfaceFilterSpec.radiusMap]. - [SurfaceFilter] enum removed, as it redundantly represented the idea of [SurfaceLayer]s in a
Set
- Enable blurry filters by passing the desired [SurfaceLayer]s into [SurfaceFilterSpec.filteredLayers] as a
[0.0.4+3] - 01 APR 21 #
- Reduction in initialization parameters for Surface constructor. This is achieved:
- in one instance by joining three similar values in a Map (
filterRadius
) - by introducing [SurfacePeekSpec] and [SurfaceTapSpec] classes to encapsulate other related parameters
- in one instance by joining three similar values in a Map (
- Renamed
SurfaceLayer.BASE
from BORDER.- Changed or removed any references to "border"
- Now refer to "base inset" or
peek
.- Consider the old
Surface.borderRatio
is the newSurfacePeekSpec.peekRatio
.
- Consider the old
- Altered default
Color
handling.InkResponse
splashes and highlights now defer toTheme
.- Without passing a
Surface.color
, deafult toColorScheme.surface
- Without passing a
Surface.baseColor
, deafult toColorScheme.primaryVariant
- Organized documentation. Added iconography through emoji.
[0.0.3+2] - 23 FEB 21 #
- Improving layout and comments for pub.dev listing
- Touchup on example application
[0.0.2+1] - 22 FEB 21 #
- Prepared for pub.dev
- Updated comments and documentation; fixed M⬇; ran
dartdoc
. - Cleaned and linked READMEs; added hyperlinks to Surface Example.
- Updated comments and documentation; fixed M⬇; ran
- Removed Color and Duration constants from goodies.
- Goodie
scaleAxis
simplified
[0.0.1+0] - 22 FEB 21 #
- Work in progress transfer from an Android application on which I am primarily focused.