NeumorphicIndicator constructor

const NeumorphicIndicator({
  1. Key? key,
  2. double percent = 0.5,
  3. NeumorphicIndicatorOrientation orientation = NeumorphicIndicatorOrientation.vertical,
  4. double height = double.maxFinite,
  5. EdgeInsets padding = EdgeInsets.zero,
  6. double width = double.maxFinite,
  7. IndicatorStyle style = const IndicatorStyle(),
  8. Duration duration = const Duration(milliseconds: 300),
  9. Curve curve = Curves.easeOutCubic,
})

Implementation

const NeumorphicIndicator({
  Key? key,
  this.percent = 0.5,
  this.orientation = NeumorphicIndicatorOrientation.vertical,
  this.height = double.maxFinite,
  this.padding = EdgeInsets.zero,
  this.width = double.maxFinite,
  this.style = const IndicatorStyle(),
  this.duration = const Duration(milliseconds: 300),
  this.curve = Curves.easeOutCubic,
}) : super(key: key);