BeforeAfterTheme constructor

const BeforeAfterTheme({
  1. double? trackWidth,
  2. Color? trackColor,
  3. double? thumbHeight,
  4. double? thumbWidth,
  5. Color? overlayColor,
  6. BoxDecoration? thumbDecoration,
  7. 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,
});