SkinContractRow.textRenders constructor

SkinContractRow.textRenders({
  1. required String id,
  2. required String text,
  3. SkinTargetPlatform? platform,
})

A row requiring text to render in the live tree.

The pilot demo's google-text row: after the chaos edit 'Continue with Google' → 'Continue with Goggle', this row fails on the first audited frame and the banner appears — zero test runs, zero rebuilds.

Implementation

factory SkinContractRow.textRenders({
  required String id,
  required String text,
  SkinTargetPlatform? platform,
}) => SkinContractRow(
  id: id,
  requirement: '$text renders${_gateSuffix(platform)}',
  check: (facts) => _gated(platform, facts) && facts.texts.contains(text),
);