style property
The style delta applied to the style resolved by variant.
The final style is computed by first resolving the base style from FAlertStyles using variant, then applying this delta. This allows modifying variant-specific styles:
FAlert(
variant: .destructive,
style: .delta(iconStyle: .delta(size: 24)), // modifies the destructive style
title: Text('Large icon destructive alert'),
)
CLI
To generate and customize this style:
dart run forui style create alert
Implementation
final FAlertStyleDelta style;