Config constructor

Config({
  1. Duration duration = Constants.duration,
  2. double letterWidth = Constants.letterWidth,
  3. Color hoverColor = Colors.orange,
  4. Color textColor = Colors.black,
  5. bool expand = false,
  6. TextStyle? textStyle,
})

Implementation

Config({
  this.duration = Constants.duration,
  this.letterWidth = Constants.letterWidth,
  this.hoverColor = Colors.orange,
  this.textColor = Colors.black,
  this.expand = false,
  this.textStyle,
});