widgets/calsee_key library
Classes
- CalseeKey
- A button drawn by the current theme's key renderer, with its spring press motion: Claymorphism squishes, NeoPOP extrudes, Liquid Glass inflates, and so on.
- CalseeKeyLabel
- text in the theme's key font, in style's label colour and weight, through the renderer's own label treatment.
- CalseeSurface
- A key face at rest that isn't a button (a tile, a card, a badge), drawn by the current theme's key renderer.
Functions
-
calseeFaceInset(
BuildContext context, double shortSide, {double min = 12}) → EdgeInsets -
Padding that keeps content inside the rounded corners of a key or
surface whose shorter side is
shortSide.
Typedefs
- CalseeKeyBuilder = Widget Function(BuildContext context, KeyStyle style, double shortSide)
-
Builds a key's content in its label colour.
shortSideis the key's shorter side, for sizing.