MinimalStyleReading extension

What Minimal's parts read from their layers beyond ui_core's getters.

on

Properties

press → DesignStyle?

Available on DesignStyleOf, provided by the MinimalStyleReading extension

The wash and the outline of every layer as one style, each state falling through the layers as the part's own slots do: what its MinimalPressable reads. Null when no layer is set.
no setter
wash → Color?

Available on DesignStyleOf, provided by the MinimalStyleReading extension

The first layer's state wash in these states.
no setter

Methods

paddingIn(BuildContext context) → EdgeInsets?

Available on DesignStyleOf, provided by the MinimalStyleReading extension

The first layer's padding, for context's direction.
rim(Color? own, double width) → BorderSide

Available on DesignStyleOf, provided by the MinimalStyleReading extension

The rim: a side wins; else an edge (or the part's own colour) at width; none when neither says a colour.
text(TextStyle own, Color colour) → TextStyle

Available on DesignStyleOf, provided by the MinimalStyleReading extension

The words' style: the look's own, with a layer's text style merged over it and colour last.