Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getDiagnosticProp() #40

Merged
merged 3 commits into from
Jan 27, 2024
Merged

Add getDiagnosticProp() #40

merged 3 commits into from
Jan 27, 2024

Conversation

passsy
Copy link
Owner

@passsy passsy commented Jan 27, 2024

Allows reading diagnostic properties values directly. This allows checking of deeper properties without complex Subject<T> extensions

      final value = spot<Text>().existsOnce().getTextHeightBehavior();
      expect(value.leadingDistribution, TextLeadingDistribution.even);

@passsy passsy merged commit 41941ef into main Jan 27, 2024
4 checks passed
@passsy passsy deleted the add-getDiagnosticProp branch January 27, 2024 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant