FeedbackThemeData constructor

FeedbackThemeData({
  1. Color background = Colors.grey,
  2. Color feedbackSheetColor = _lightGrey,
  3. List<Color> drawColors = _defaultDrawColors,
  4. TextStyle bottomSheetDescriptionStyle = _defaultBottomSheetDescriptionStyle,
})

Implementation

FeedbackThemeData({
  this.background = Colors.grey,
  this.feedbackSheetColor = _lightGrey,
  this.drawColors = _defaultDrawColors,
  this.bottomSheetDescriptionStyle = _defaultBottomSheetDescriptionStyle,
}) :
      // if the user chooses to supply custom drawing colors,
      // make sure there is at least on color to draw with
      assert(
        // ignore: prefer_is_empty
        drawColors.length > 0,
        'There must be at least one color to draw with',
      );