FlutterWebIconOptions constructor

FlutterWebIconOptions({
  1. double? size,
  2. Color? color,
  3. EdgeInsetsGeometry? padding = const EdgeInsets.all(10),
  4. String? heroTag,
  5. bool? isHeroWidget = false,
})

Implementation

FlutterWebIconOptions({
  this.size,
  this.color,
  this.padding = const EdgeInsets.all(10),

  /// 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,
});