FlutterWebButtonOptions constructor

FlutterWebButtonOptions({
  1. double? buttonWidth,
  2. double? buttonHeight = 50,
  3. Color? buttonBackgroundColor,
  4. Color? textColor,
  5. double? fontSize,
  6. String? fontFamily,
  7. double? letterSpacing,
  8. EdgeInsetsGeometry? buttonPadding = const EdgeInsets.all(10),
  9. bool? eliminateDecoration = false,
  10. double? buttonRadius,
  11. Color? buttonBorderColor,
  12. double? buttonBorderWidth,
  13. Color? boxShadowColor,
  14. double? spreadRadius,
  15. double? blurRadius,
  16. Offset boxShadowOffset = const Offset(0.0, 8.0),
  17. String? heroTag,
  18. bool? isHeroWidget = false,
})

Implementation

FlutterWebButtonOptions({
  this.buttonWidth,
  this.buttonHeight = 50,
  this.buttonBackgroundColor,
  this.textColor,
  this.fontSize,
  this.fontFamily,
  this.letterSpacing,
  this.buttonPadding = const EdgeInsets.all(10),
  this.eliminateDecoration = false,
  this.buttonRadius,
  this.buttonBorderColor,
  this.buttonBorderWidth,
  this.boxShadowColor,
  this.spreadRadius,
  this.blurRadius,
  this.boxShadowOffset = const Offset(0.0, 8.0),

  /// These properties are only used if using a [Hero] widget.
  /// The hero tag must be unique to the widget tree.
  this.heroTag,

  /// If this button will be wrapped in a [Hero] set this to true. Used for nesting multiple hero widgets.
  this.isHeroWidget = false,
});