ExpressiveStateFace constructor
const
ExpressiveStateFace({
- required Set<
WidgetState> states, - required OutlinedBorder shape,
- required Color color,
- required Color contentColor,
- required Widget child,
- BorderSide side = BorderSide.none,
- EdgeInsetsGeometry? padding,
- ExpressiveMotionKey motion = ExpressiveMotionKey.fastSpatial,
- bool layers = true,
- bool focusInward = false,
- bool focusLayer = true,
- Key? key,
A face for states.
Implementation
const ExpressiveStateFace({
required this.states,
required this.shape,
required this.color,
required this.contentColor,
required this.child,
this.side = BorderSide.none,
this.padding,
this.motion = ExpressiveMotionKey.fastSpatial,
this.layers = true,
this.focusInward = false,
this.focusLayer = true,
super.key,
});