surface 0.4.3
surface: ^0.4.3 copied to clipboard
Shapeable, layered, intrinsincally animated container with convenient access to blurry ImageFilters, InkResponse, and HapticFeedback.
๐ Surface #
0.4.3 30 APR 21 #
- Beginning doc/readme cleanup for new
Shapeing and naming schemes - Investigating performance degradation.
- ๐ props for ๐
TapSpec- โ
useThemeSplashFactory - Custom
splashFactorySurfacefalls back to ๐BouncyBall
- โ
- Renamed ๐ฒ
Peek.peekAlignment->Peek.alignment&Peek.peekRatio->Peek.ratio - Renamed ๐ฌ
Filter.baseRadius, et al. ->Filter.radiusBase, et al. & made all forms ofradiusinput _private with public getters - A
radius, orCornerBorderRadius, may be specified inShapeas well as individualCornerSpecCornerSpec.radiuswill win if available
0.4.2 30 APR 21 #
- Fixing
nullchecks, especially bylerps.
0.4.1 29 APR 21 #
- Imports correction.
0.4.0 29 APR 21 #
- Overhaul in progress. Developing...
- โ
Newly added:
- Manual (or pre-configured) custom
Shapeing- Easy
Shapescaling and differedShapeby ๐SurfaceLayer - Customize
Shapeby configuring fourCorners andradius
- Easy
BorderSidesupport, by ๐SurfaceLayer- ๐
copyWithmethods - Renamed classes:
FilterSpec->Filter,PeekSpec->Peek - & more
- Manual (or pre-configured) custom
- ๐ณ Todo:
- Improve transitioning/animating/lerping
- & more
0.3.0 25 APR 21 #
- Divided package into several bite-size
srcfiles - Reverted names of
Specclasses to drop preceding'Surface' CustomInk->BouncyBall, forked as ๐package:ball, with LOTS of ๐ features!- New
const splashFactorys: ๐BouncyBall.splashFactory2,3,&4with different bounce animations - ๐ฎ
BouncyBall.marbleFactorywhich uses differentPaintand one of the new curves InteractiveInkFeatureFactorydesigner method, ๐ชBouncyBall.mold(Paint rubber)
- New
Blur.ry-> ๐งFX.blurryand becomes default for ๐FilterSpec.effectparameter- ๐คนโโ๏ธ
FXclass linked to ๐คนโโ๏ธSurfaceFX typedef - ๐ง
FX.blurryis the default ๐คนโโ๏ธSurfaceFX Functionthat ignores the current ๐SurfaceLayer layerForRenderand opts to handle only the ๐specRadiuswhich comes from ๐ฌFilterSpecaccording to ๐layerForRender- Passes ๐
specRadiusto ๐งFX.b(the true oldBlur.ry)
- Passes ๐
- ๐คนโโ๏ธ
- Core of ๐
Surfacecleaned up, with with is hopefully now zero changes to Widget tree depth by altering parameters like removing filters & disabling ink response and handlingClips differently- Still need to work on ๐ฐ
SurfaceShapeandDecoration lerping
- Still need to work on ๐ฐ
0.2.0 & [0.2.0+7] - 12 APR 21 #
- Migrated package to sound null safety.
- Cleaned up internal
Filtercode a bit while adding relevantconstants- One
DEFAULT_SPECis used by anew๐Surface - And several more that are
constoptions for ๐filteredLayers:Set<SurfaceLayer>that resemble oldenum SurfaceFilter
- One
- ๐ฐ
BiBeveledShape.buildbecomes ๐ฐSurfaceShape.biBeveledRectanglefor growth potential - Removed
fullPrintandscaleAxis.
0.1.0 04 APR 21 #
- Added
Surface.baseRadius.- ๐
baseRadiusmay 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
Filter.extendBaseFilterboolean which will apply the ๐BASEblurry filter to theSurface.margin.
0.0.5 02 APR 21 #
- Further modification to initialization parameters for Surface constructor.
- Filter strength and the
SurfaceLayers on which they are enabled are now set and mapped with a bespokeFilterObject.- Enable blurry filters by passing the desired
SurfaceLayers intoFilter.filteredLayersas aSet. - Strength radii can be initialized formally or with a
Map<SurfaceLayer, double>calledFilter.radiusMap. SurfaceFilterenum removed, as it redundantly represented the idea ofSurfaceLayers in aSet
- Enable blurry filters by passing the desired
0.0.4 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
PeekandTapSpecclasses to encapsulate other related parameters
- in one instance by joining three similar values in a Map (
- Renamed
SurfaceLayer.BASEfrom BORDER.- Changed or removed any references to "border"
- Now refer to "base inset" or
peek.- Consider the old
Surface.borderRatiois the newPeek.ratio.
- Consider the old
- Altered default
Colorhandling.InkResponsesplashes 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 23 FEB 21 #
- Improving layout and comments for pub.dev listing
- Touchup on example application
0.0.2 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
scaleAxissimplified
0.0.1 22 FEB 21 #
- Work in progress transfer from an Android application on which I am primarily focused.