FAlertIconStyle constructor

FAlertIconStyle({
  1. required Color color,
  2. double size = 20,
})

Creates a FButtonIconStyle.

Contract

Throws AssertionError if:

  • height <= 0.0
  • height is Nan

Implementation

FAlertIconStyle({
  required this.color,
  this.size = 20,
}) : assert(0 < size, 'The dimension is $size, but it should be positive.');