ClearNotice constructor

ClearNotice({
  1. Key? key,
  2. String? text,
  3. Widget icon = const Icon(Icons.info_outline, size: 16),
  4. Color? color,
  5. TextStyle? textStyle,
})

Creates a plain text notice row.

Implementation

ClearNotice({
  super.key,
  String? text,
  this.icon = const Icon(Icons.info_outline, size: 16),
  this.color,
  this.textStyle,
}) : text = text ?? t.general.dataDisclaimer;