ExpressiveStateFace constructor

const ExpressiveStateFace({
  1. required Set<WidgetState> states,
  2. required OutlinedBorder shape,
  3. required Color color,
  4. required Color contentColor,
  5. required Widget child,
  6. BorderSide side = BorderSide.none,
  7. EdgeInsetsGeometry? padding,
  8. ExpressiveMotionKey motion = ExpressiveMotionKey.fastSpatial,
  9. bool layers = true,
  10. bool focusInward = false,
  11. bool focusLayer = true,
  12. 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,
});