designSystemItemReplacements property

Map<String, List<DesignSystemForbiddenItem>> designSystemItemReplacements
final

Configuration for the use_design_system_item rule. Defines which types are forbidden and what to use instead.

Map key is the preferred item name (e.g. LftText) and map value is the list of forbidden items (e.g. Text from flutter).

Implementation

final Map<String, List<DesignSystemForbiddenItem>>
designSystemItemReplacements;