BeforeAfterTheme constructor
const
BeforeAfterTheme({
- double? trackWidth,
- Color? trackColor,
- double? thumbHeight,
- double? thumbWidth,
- Color? overlayColor,
- BoxDecoration? thumbDecoration,
- MaterialStateProperty<
MouseCursor?> ? mouseCursor,
Creates a BeforeAfterTheme.
The trackWidth, trackColor, thumbHeight, thumbWidth, overlayColor, thumbDecoration, and mouseCursor parameters can be used to customize the appearance and behavior of the theme.
Implementation
const BeforeAfterTheme({
this.trackWidth,
this.trackColor,
this.thumbHeight,
this.thumbWidth,
this.overlayColor,
this.thumbDecoration,
this.mouseCursor,
});