Skip to content

Bison card widget (stacked with image variant) - #65

Open
rnethi1701 wants to merge 7 commits into
mainfrom
bisonCard-widget
Open

Bison card widget (stacked with image variant)#65
rnethi1701 wants to merge 7 commits into
mainfrom
bisonCard-widget

Conversation

@rnethi1701

Copy link
Copy Markdown
Contributor

Covers the stacked variant only;
Relates to #10

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Code Coverage Report - 1,260 of 2,814 lines covered ( ⛔ 44.78%)

example - 0 of 1,165 lines covered ( ⛔ 0.00%)

example/.dart_tool - Directory excluded from coverage report

example/.dart_tool/dartpad - Directory excluded from coverage report

example/.dart_tool/dartpad/web_plugin_registrant.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/.dart_tool/flutter_build - Directory excluded from coverage report

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b - Directory excluded from coverage report

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b/main.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b/web_plugin_registrant.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/lib - 0 of 1,165 lines covered ( ⛔ 0.00%)

example/lib/bison_button.dart - 0 of 78 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_card.dart - 0 of 61 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_checkbox.dart - 0 of 71 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_chip.dart - 0 of 222 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_dialog.dart - 0 of 160 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_divider.dart - 0 of 45 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_icon_button.dart - 0 of 131 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_menu.dart - 0 of 142 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_scrim.dart - 0 of 35 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_switch.dart - 0 of 113 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_text_field.dart - 0 of 71 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/main.dart - 0 of 36 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/main.directories.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/test - Directory excluded from coverage report

example/test/widget_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib - 1,260 of 1,619 lines covered ( ⛔ 77.83%)

lib/bison_design_system.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/core_widgets.dart - 0 of 18 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/src - 1,260 of 1,590 lines covered ( ⛔ 79.25%)

lib/src/core_widgets - 1,080 of 1,194 lines covered ( ✅ 90.45%)

lib/src/core_widgets/buttons - 301 of 309 lines covered ( ✅ 97.41%)

lib/src/core_widgets/buttons/bison_button.dart - 135 of 143 lines covered ( ✅ 94.41%)

Uncovered lines: ⚠️ 179-180, 206, 247, 250, 291, 294, 342

lib/src/core_widgets/buttons/bison_icon_button.dart - 166 of 166 lines covered ( 💎 100.00%)

:shipit:

lib/src/core_widgets/cards - 39 of 57 lines covered ( ⛔ 68.42%)

lib/src/core_widgets/cards/bison_card.dart - 39 of 57 lines covered ( ⛔ 68.42%)

Uncovered lines: ⚠️ 93-96, 123-128, 138-142, 145-147

lib/src/core_widgets/checkboxes - 62 of 76 lines covered ( ⚠️ 81.58%)

lib/src/core_widgets/checkboxes/bison_checkbox.dart - 62 of 76 lines covered ( ⚠️ 81.58%)

Uncovered lines: ⚠️ 104-106, 129, 142, 144, 179-181, 227-228, 231-233

lib/src/core_widgets/chips - 103 of 136 lines covered ( ⛔ 75.74%)

lib/src/core_widgets/chips/bison_chip.dart - 103 of 136 lines covered ( ⛔ 75.74%)

Uncovered lines: ⚠️ 39, 55, 71, 129, 131-134, 137, 139-141, 143, 146, 148-151, 191, 236-237, 241-242, 282-285, 289, 292, 295, 298, 301, 304

lib/src/core_widgets/dialogs - 116 of 122 lines covered ( ✅ 95.08%)

lib/src/core_widgets/dialogs/bison_dialog.dart - 116 of 122 lines covered ( ✅ 95.08%)

Uncovered lines: ⚠️ 106, 108-109, 116, 118, 155

lib/src/core_widgets/dividers - 0 of 9 lines covered ( ⛔ 0.00%)

lib/src/core_widgets/dividers/bison_divider.dart - 0 of 9 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/src/core_widgets/inputs - 220 of 240 lines covered ( ✅ 91.67%)

lib/src/core_widgets/inputs/bison_text_field.dart - 220 of 240 lines covered ( ✅ 91.67%)

Uncovered lines: ⚠️ 202-203, 205-207, 209-210, 216-218, 220-222, 224-225, 227, 468, 471, 645-646

lib/src/core_widgets/menus - 117 of 121 lines covered ( ✅ 96.69%)

lib/src/core_widgets/menus/bison_menu.dart - 117 of 121 lines covered ( ✅ 96.69%)

Uncovered lines: ⚠️ 152-153, 270, 359

lib/src/core_widgets/overlays - 12 of 12 lines covered ( 💎 100.00%)

lib/src/core_widgets/overlays/bison_scrim.dart - 12 of 12 lines covered ( 💎 100.00%)

:shipit:

lib/src/core_widgets/switches - 110 of 112 lines covered ( ✅ 98.21%)

lib/src/core_widgets/switches/bison_switch.dart - 110 of 112 lines covered ( ✅ 98.21%)

Uncovered lines: ⚠️ 189, 197

lib/src/theme - 100 of 100 lines covered ( 💎 100.00%)

lib/src/theme/bison_theme_data.dart - 100 of 100 lines covered ( 💎 100.00%)

:shipit:

lib/src/theme/color_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/theme/shape_spacing_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/theme/typography_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/token_parsers - 80 of 296 lines covered ( ⛔ 27.03%)

lib/src/token_parsers/color_parser.dart - 34 of 105 lines covered ( ⛔ 32.38%)

Uncovered lines: ⚠️ 5, 15-18, 20-22, 25-29, 31, 34-38, 41, 44, 49-53, 55, 58-59, 63-65, 67, 70, 73-76, 79, 82, 85-88, 91, 94, 96, 99-102, 172, 174-177, 179-183, 185-186, 189-190, 193-197, 199

lib/src/token_parsers/shape_spacing_parser.dart - 17 of 90 lines covered ( ⛔ 18.89%)

Uncovered lines: ⚠️ 4, 12-13, 15-18, 20-21, 24, 28-30, 32, 35-37, 39, 42, 45-46, 48, 51-53, 55-59, 61, 64, 67-71, 73, 75, 78, 81-83, 85, 88-90, 92, 95, 98-99, 101, 104-106, 108-112, 114, 117, 120-124, 126, 129, 132-135

lib/src/token_parsers/token_parser_utils.dart - 16 of 22 lines covered ( ⛔ 72.73%)

Uncovered lines: ⚠️ 33-34, 38-41

lib/src/token_parsers/typography_parser.dart - 13 of 79 lines covered ( ⛔ 16.46%)

Uncovered lines: ⚠️ 4, 9-10, 12-15, 17, 21-24, 27-28, 32-34, 36, 39, 42, 44-49, 53, 56, 59-60, 62-68, 70-72, 74, 76, 78, 80-83, 118, 122-125, 127-131, 133, 135-136, 139-143, 145

lib/theme.dart - 0 of 6 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

test - Directory excluded from coverage report

test/unit_tests - Directory excluded from coverage report

test/unit_tests/bison_theme_data_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/unit_tests/token_parser_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget - Directory excluded from coverage report

test/widget/buttons - Directory excluded from coverage report

test/widget/buttons/bison_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/buttons/bison_icon_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/cards - Directory excluded from coverage report

test/widget/cards/bison_card_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/checkboxes - Directory excluded from coverage report

test/widget/checkboxes/bison_checkbox_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/chips - Directory excluded from coverage report

test/widget/chips/bison_chip_object_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/common.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/dialogs - Directory excluded from coverage report

test/widget/dialogs/bison_dialog_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/inputs - Directory excluded from coverage report

test/widget/inputs/bison_text_field_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus - Directory excluded from coverage report

test/widget/menus/bison_menu_common.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus/bison_menu_function_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus/bison_menu_style_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/switches - Directory excluded from coverage report

test/widget/switches/bison_switch_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/theme - Directory excluded from coverage report

test/widget/theme/bison_context_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/theme/bison_theme_data_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

tool - 0 of 30 lines covered ( ⛔ 0.00%)

tool/color_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/generate_tokens.dart - 0 of 15 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/setup_git_hooks.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

tool/shape_spacing_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/typography_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the initial BisonCard implementation for the design system, focusing on the “stacked with image” variant requested in issue #10, and wires it into the public API and catalog/example app.

Changes:

  • Introduces BisonCard.stackedWithImage with header, media, title/subtitle, supporting text, and optional actions.
  • Exports BisonCard via core_widgets.dart, adds a Widgetbook catalog use case, and adds widget tests for basic/optional rendering.
  • Applies a small formatting update to BisonDivider and updates example lock/generated directory listing.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test/widget/cards/bison_card_test.dart Adds widget tests for required content and optional actions/trailing icon.
lib/src/core_widgets/dividers/bison_divider.dart Reformats the constructor for readability.
lib/src/core_widgets/cards/bison_card.dart Adds the new BisonCard stacked-with-image implementation and API docs.
lib/core_widgets.dart Exports BisonCard from the core widgets barrel.
example/pubspec.lock Updates example dependency lockfile / SDK constraints.
example/lib/main.directories.g.dart Registers the new cards folder/component in Widgetbook directories (generated).
example/lib/bison_card.dart Adds a Widgetbook use case for interactively previewing BisonCard.
Suppressed comments (1)

test/widget/cards/bison_card_test.dart:70

  • Similar to the previous test, find.byType(TextButton) is broad and can become flaky if other TextButtons are introduced elsewhere in the scaffold. Checking for the specific action labels keeps the intent clear and avoids false positives/negatives.
      expect(find.byIcon(Icons.more_vert), findsNothing);
      expect(find.byType(TextButton), findsNothing);

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/src/core_widgets/cards/bison_card.dart
),

// Media area
ClipRRect(child: SizedBox(width: 360, height: 222, child: media)),
Comment thread test/widget/cards/bison_card_test.dart Outdated
final String? supportingText;

/// Primary action widget displayed in the button row.
final Widget? primaryAction;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing a button will always be used for the primary and secondary action. Should we constrain this property to be always a button? We could even constrain to a BisonButton. Just a thought

final String? subheadText;

/// Trailing icon button in the header row (e.g. three-dot menu).
final Widget? trailingIconButton;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine I think but if this icon button will always present a menu of items maybe it's better to pass the menu items? If it's empty we don't display the iconButton?

decoration: BoxDecoration(
color: bison.theme.surfaceDefault,
border: Border.all(color: bison.theme.borderPlain),
borderRadius: BorderRadius.circular(bison.corners.cornerLarge),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the figma file says the corners should be small

Comment on lines +57 to +58
primaryAction: TextButton(onPressed: () {}, child: Text(primaryLabel)),
secondaryAction: TextButton(onPressed: () {}, child: Text(secondaryLabel)),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The figma spec uses a primary button for the primary action and a outlined button for the secondary action. We should use that. Maybe force that in the API?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a visual issue I noticed in the widgetbook. It looks like the image isn't filling the right side entirely like in Figma, let's make sure it goes end to end.

Also, when I expand the area the widget is in, the widget fills the space. Not sure if that's intentional

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Code Coverage Report - 1,321 of 2,970 lines covered ( ⛔ 44.48%)

example - 0 of 1,237 lines covered ( ⛔ 0.00%)

example/.dart_tool - Directory excluded from coverage report

example/.dart_tool/dartpad - Directory excluded from coverage report

example/.dart_tool/dartpad/web_plugin_registrant.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/.dart_tool/flutter_build - Directory excluded from coverage report

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b - Directory excluded from coverage report

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b/main.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b/web_plugin_registrant.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/lib - 0 of 1,237 lines covered ( ⛔ 0.00%)

example/lib/bison_button.dart - 0 of 78 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_card.dart - 0 of 81 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_checkbox.dart - 0 of 71 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_chip.dart - 0 of 222 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_dialog.dart - 0 of 160 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_divider.dart - 0 of 45 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_icon_button.dart - 0 of 131 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_menu.dart - 0 of 142 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_radio_button.dart - 0 of 52 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_scrim.dart - 0 of 35 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_switch.dart - 0 of 113 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_text_field.dart - 0 of 71 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/main.dart - 0 of 36 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/main.directories.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/test - Directory excluded from coverage report

example/test/widget_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib - 1,321 of 1,703 lines covered ( ⛔ 77.57%)

lib/bison_design_system.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/core_widgets.dart - 0 of 19 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/src - 1,321 of 1,673 lines covered ( ⛔ 78.96%)

lib/src/core_widgets - 1,141 of 1,277 lines covered ( ✅ 89.35%)

lib/src/core_widgets/buttons - 301 of 309 lines covered ( ✅ 97.41%)

lib/src/core_widgets/buttons/bison_button.dart - 135 of 143 lines covered ( ✅ 94.41%)

Uncovered lines: ⚠️ 179-180, 206, 247, 250, 291, 294, 342

lib/src/core_widgets/buttons/bison_icon_button.dart - 166 of 166 lines covered ( 💎 100.00%)

:shipit:

lib/src/core_widgets/cards - 47 of 79 lines covered ( ⛔ 59.49%)

lib/src/core_widgets/cards/bison_card.dart - 47 of 79 lines covered ( ⛔ 59.49%)

Uncovered lines: ⚠️ 91, 118, 124, 143-146, 186-191, 201-205, 208-210, 230-233, 235, 237, 240-244

lib/src/core_widgets/checkboxes - 62 of 76 lines covered ( ⚠️ 81.58%)

lib/src/core_widgets/checkboxes/bison_checkbox.dart - 62 of 76 lines covered ( ⚠️ 81.58%)

Uncovered lines: ⚠️ 104-106, 129, 142, 144, 178-180, 226-227, 230-232

lib/src/core_widgets/chips - 103 of 136 lines covered ( ⛔ 75.74%)

lib/src/core_widgets/chips/bison_chip.dart - 103 of 136 lines covered ( ⛔ 75.74%)

Uncovered lines: ⚠️ 39, 55, 71, 129, 131-134, 137, 139-141, 143, 146, 148-151, 191, 236-237, 241-242, 282-285, 289, 292, 295, 298, 301, 304

lib/src/core_widgets/dialogs - 116 of 122 lines covered ( ✅ 95.08%)

lib/src/core_widgets/dialogs/bison_dialog.dart - 116 of 122 lines covered ( ✅ 95.08%)

Uncovered lines: ⚠️ 106, 108-109, 116, 118, 155

lib/src/core_widgets/dividers - 0 of 9 lines covered ( ⛔ 0.00%)

lib/src/core_widgets/dividers/bison_divider.dart - 0 of 9 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/src/core_widgets/inputs - 220 of 240 lines covered ( ✅ 91.67%)

lib/src/core_widgets/inputs/bison_text_field.dart - 220 of 240 lines covered ( ✅ 91.67%)

Uncovered lines: ⚠️ 202-203, 205-207, 209-210, 216-218, 220-222, 224-225, 227, 468, 471, 645-646

lib/src/core_widgets/menus - 117 of 121 lines covered ( ✅ 96.69%)

lib/src/core_widgets/menus/bison_menu.dart - 117 of 121 lines covered ( ✅ 96.69%)

Uncovered lines: ⚠️ 152-153, 270, 359

lib/src/core_widgets/overlays - 12 of 12 lines covered ( 💎 100.00%)

lib/src/core_widgets/overlays/bison_scrim.dart - 12 of 12 lines covered ( 💎 100.00%)

:shipit:

lib/src/core_widgets/radios - 53 of 61 lines covered ( ⚠️ 86.89%)

lib/src/core_widgets/radios/bison_radio_button.dart - 53 of 61 lines covered ( ⚠️ 86.89%)

Uncovered lines: ⚠️ 77-79, 96, 98, 126-128

lib/src/core_widgets/switches - 110 of 112 lines covered ( ✅ 98.21%)

lib/src/core_widgets/switches/bison_switch.dart - 110 of 112 lines covered ( ✅ 98.21%)

Uncovered lines: ⚠️ 189, 197

lib/src/theme - 100 of 100 lines covered ( 💎 100.00%)

lib/src/theme/bison_theme_data.dart - 100 of 100 lines covered ( 💎 100.00%)

:shipit:

lib/src/theme/color_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/theme/shape_spacing_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/theme/typography_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/token_parsers - 80 of 296 lines covered ( ⛔ 27.03%)

lib/src/token_parsers/color_parser.dart - 34 of 105 lines covered ( ⛔ 32.38%)

Uncovered lines: ⚠️ 5, 15-18, 20-22, 25-29, 31, 34-38, 41, 44, 49-53, 55, 58-59, 63-65, 67, 70, 73-76, 79, 82, 85-88, 91, 94, 96, 99-102, 172, 174-177, 179-183, 185-186, 189-190, 193-197, 199

lib/src/token_parsers/shape_spacing_parser.dart - 17 of 90 lines covered ( ⛔ 18.89%)

Uncovered lines: ⚠️ 4, 12-13, 15-18, 20-21, 24, 28-30, 32, 35-37, 39, 42, 45-46, 48, 51-53, 55-59, 61, 64, 67-71, 73, 75, 78, 81-83, 85, 88-90, 92, 95, 98-99, 101, 104-106, 108-112, 114, 117, 120-124, 126, 129, 132-135

lib/src/token_parsers/token_parser_utils.dart - 16 of 22 lines covered ( ⛔ 72.73%)

Uncovered lines: ⚠️ 33-34, 38-41

lib/src/token_parsers/typography_parser.dart - 13 of 79 lines covered ( ⛔ 16.46%)

Uncovered lines: ⚠️ 4, 9-10, 12-15, 17, 21-24, 27-28, 32-34, 36, 39, 42, 44-49, 53, 56, 59-60, 62-68, 70-72, 74, 76, 78, 80-83, 118, 122-125, 127-131, 133, 135-136, 139-143, 145

lib/theme.dart - 0 of 6 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

test - Directory excluded from coverage report

test/unit_tests - Directory excluded from coverage report

test/unit_tests/bison_theme_data_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/unit_tests/token_parser_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget - Directory excluded from coverage report

test/widget/buttons - Directory excluded from coverage report

test/widget/buttons/bison_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/buttons/bison_icon_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/cards - Directory excluded from coverage report

test/widget/cards/bison_card_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/checkboxes - Directory excluded from coverage report

test/widget/checkboxes/bison_checkbox_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/chips - Directory excluded from coverage report

test/widget/chips/bison_chip_object_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/common.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/dialogs - Directory excluded from coverage report

test/widget/dialogs/bison_dialog_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/inputs - Directory excluded from coverage report

test/widget/inputs/bison_text_field_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus - Directory excluded from coverage report

test/widget/menus/bison_menu_common.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus/bison_menu_function_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus/bison_menu_style_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/radios - Directory excluded from coverage report

test/widget/radios/bison_radio_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/switches - Directory excluded from coverage report

test/widget/switches/bison_switch_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/theme - Directory excluded from coverage report

test/widget/theme/bison_context_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/theme/bison_theme_data_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

tool - 0 of 30 lines covered ( ⛔ 0.00%)

tool/color_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/generate_tokens.dart - 0 of 15 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/setup_git_hooks.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

tool/shape_spacing_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/typography_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Code Coverage Report - 1,321 of 2,970 lines covered ( ⛔ 44.48%)

example - 0 of 1,237 lines covered ( ⛔ 0.00%)

example/.dart_tool - Directory excluded from coverage report

example/.dart_tool/dartpad - Directory excluded from coverage report

example/.dart_tool/dartpad/web_plugin_registrant.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/.dart_tool/flutter_build - Directory excluded from coverage report

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b - Directory excluded from coverage report

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b/main.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/.dart_tool/flutter_build/7489952ce47c461a731374d264b6b63b/web_plugin_registrant.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/lib - 0 of 1,237 lines covered ( ⛔ 0.00%)

example/lib/bison_button.dart - 0 of 78 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_card.dart - 0 of 81 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_checkbox.dart - 0 of 71 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_chip.dart - 0 of 222 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_dialog.dart - 0 of 160 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_divider.dart - 0 of 45 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_icon_button.dart - 0 of 131 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_menu.dart - 0 of 142 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_radio_button.dart - 0 of 52 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_scrim.dart - 0 of 35 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_switch.dart - 0 of 113 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_text_field.dart - 0 of 71 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/main.dart - 0 of 36 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/main.directories.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/test - Directory excluded from coverage report

example/test/widget_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib - 1,321 of 1,703 lines covered ( ⛔ 77.57%)

lib/bison_design_system.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/core_widgets.dart - 0 of 19 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/src - 1,321 of 1,673 lines covered ( ⛔ 78.96%)

lib/src/core_widgets - 1,141 of 1,277 lines covered ( ✅ 89.35%)

lib/src/core_widgets/buttons - 301 of 309 lines covered ( ✅ 97.41%)

lib/src/core_widgets/buttons/bison_button.dart - 135 of 143 lines covered ( ✅ 94.41%)

Uncovered lines: ⚠️ 179-180, 206, 247, 250, 291, 294, 342

lib/src/core_widgets/buttons/bison_icon_button.dart - 166 of 166 lines covered ( 💎 100.00%)

:shipit:

lib/src/core_widgets/cards - 47 of 79 lines covered ( ⛔ 59.49%)

lib/src/core_widgets/cards/bison_card.dart - 47 of 79 lines covered ( ⛔ 59.49%)

Uncovered lines: ⚠️ 92, 119, 125, 144-147, 187-192, 202-206, 209-211, 231-234, 236, 238, 241-245

lib/src/core_widgets/checkboxes - 62 of 76 lines covered ( ⚠️ 81.58%)

lib/src/core_widgets/checkboxes/bison_checkbox.dart - 62 of 76 lines covered ( ⚠️ 81.58%)

Uncovered lines: ⚠️ 104-106, 129, 142, 144, 178-180, 226-227, 230-232

lib/src/core_widgets/chips - 103 of 136 lines covered ( ⛔ 75.74%)

lib/src/core_widgets/chips/bison_chip.dart - 103 of 136 lines covered ( ⛔ 75.74%)

Uncovered lines: ⚠️ 39, 55, 71, 129, 131-134, 137, 139-141, 143, 146, 148-151, 191, 236-237, 241-242, 282-285, 289, 292, 295, 298, 301, 304

lib/src/core_widgets/dialogs - 116 of 122 lines covered ( ✅ 95.08%)

lib/src/core_widgets/dialogs/bison_dialog.dart - 116 of 122 lines covered ( ✅ 95.08%)

Uncovered lines: ⚠️ 106, 108-109, 116, 118, 155

lib/src/core_widgets/dividers - 0 of 9 lines covered ( ⛔ 0.00%)

lib/src/core_widgets/dividers/bison_divider.dart - 0 of 9 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/src/core_widgets/inputs - 220 of 240 lines covered ( ✅ 91.67%)

lib/src/core_widgets/inputs/bison_text_field.dart - 220 of 240 lines covered ( ✅ 91.67%)

Uncovered lines: ⚠️ 202-203, 205-207, 209-210, 216-218, 220-222, 224-225, 227, 468, 471, 645-646

lib/src/core_widgets/menus - 117 of 121 lines covered ( ✅ 96.69%)

lib/src/core_widgets/menus/bison_menu.dart - 117 of 121 lines covered ( ✅ 96.69%)

Uncovered lines: ⚠️ 152-153, 270, 359

lib/src/core_widgets/overlays - 12 of 12 lines covered ( 💎 100.00%)

lib/src/core_widgets/overlays/bison_scrim.dart - 12 of 12 lines covered ( 💎 100.00%)

:shipit:

lib/src/core_widgets/radios - 53 of 61 lines covered ( ⚠️ 86.89%)

lib/src/core_widgets/radios/bison_radio_button.dart - 53 of 61 lines covered ( ⚠️ 86.89%)

Uncovered lines: ⚠️ 77-79, 96, 98, 126-128

lib/src/core_widgets/switches - 110 of 112 lines covered ( ✅ 98.21%)

lib/src/core_widgets/switches/bison_switch.dart - 110 of 112 lines covered ( ✅ 98.21%)

Uncovered lines: ⚠️ 189, 197

lib/src/theme - 100 of 100 lines covered ( 💎 100.00%)

lib/src/theme/bison_theme_data.dart - 100 of 100 lines covered ( 💎 100.00%)

:shipit:

lib/src/theme/color_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/theme/shape_spacing_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/theme/typography_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/token_parsers - 80 of 296 lines covered ( ⛔ 27.03%)

lib/src/token_parsers/color_parser.dart - 34 of 105 lines covered ( ⛔ 32.38%)

Uncovered lines: ⚠️ 5, 15-18, 20-22, 25-29, 31, 34-38, 41, 44, 49-53, 55, 58-59, 63-65, 67, 70, 73-76, 79, 82, 85-88, 91, 94, 96, 99-102, 172, 174-177, 179-183, 185-186, 189-190, 193-197, 199

lib/src/token_parsers/shape_spacing_parser.dart - 17 of 90 lines covered ( ⛔ 18.89%)

Uncovered lines: ⚠️ 4, 12-13, 15-18, 20-21, 24, 28-30, 32, 35-37, 39, 42, 45-46, 48, 51-53, 55-59, 61, 64, 67-71, 73, 75, 78, 81-83, 85, 88-90, 92, 95, 98-99, 101, 104-106, 108-112, 114, 117, 120-124, 126, 129, 132-135

lib/src/token_parsers/token_parser_utils.dart - 16 of 22 lines covered ( ⛔ 72.73%)

Uncovered lines: ⚠️ 33-34, 38-41

lib/src/token_parsers/typography_parser.dart - 13 of 79 lines covered ( ⛔ 16.46%)

Uncovered lines: ⚠️ 4, 9-10, 12-15, 17, 21-24, 27-28, 32-34, 36, 39, 42, 44-49, 53, 56, 59-60, 62-68, 70-72, 74, 76, 78, 80-83, 118, 122-125, 127-131, 133, 135-136, 139-143, 145

lib/theme.dart - 0 of 6 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

test - Directory excluded from coverage report

test/unit_tests - Directory excluded from coverage report

test/unit_tests/bison_theme_data_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/unit_tests/token_parser_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget - Directory excluded from coverage report

test/widget/buttons - Directory excluded from coverage report

test/widget/buttons/bison_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/buttons/bison_icon_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/cards - Directory excluded from coverage report

test/widget/cards/bison_card_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/checkboxes - Directory excluded from coverage report

test/widget/checkboxes/bison_checkbox_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/chips - Directory excluded from coverage report

test/widget/chips/bison_chip_object_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/common.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/dialogs - Directory excluded from coverage report

test/widget/dialogs/bison_dialog_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/inputs - Directory excluded from coverage report

test/widget/inputs/bison_text_field_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus - Directory excluded from coverage report

test/widget/menus/bison_menu_common.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus/bison_menu_function_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus/bison_menu_style_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/radios - Directory excluded from coverage report

test/widget/radios/bison_radio_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/switches - Directory excluded from coverage report

test/widget/switches/bison_switch_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/theme - Directory excluded from coverage report

test/widget/theme/bison_context_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/theme/bison_theme_data_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

tool - 0 of 30 lines covered ( ⛔ 0.00%)

tool/color_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/generate_tokens.dart - 0 of 15 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/setup_git_hooks.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

tool/shape_spacing_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/typography_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Code Coverage Report - 1,325 of 2,975 lines covered ( ⛔ 44.54%)

example - 0 of 1,238 lines covered ( ⛔ 0.00%)

example/.dart_tool - Directory excluded from coverage report

example/.dart_tool/dartpad - Directory excluded from coverage report

example/.dart_tool/dartpad/web_plugin_registrant.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/.dart_tool/flutter_build - Directory excluded from coverage report

example/.dart_tool/flutter_build/8760a43701da381ef13c7ffbea68389d - Directory excluded from coverage report

example/.dart_tool/flutter_build/8760a43701da381ef13c7ffbea68389d/main.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/.dart_tool/flutter_build/8760a43701da381ef13c7ffbea68389d/web_plugin_registrant.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/lib - 0 of 1,238 lines covered ( ⛔ 0.00%)

example/lib/bison_button.dart - 0 of 78 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_card.dart - 0 of 82 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_checkbox.dart - 0 of 71 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_chip.dart - 0 of 222 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_dialog.dart - 0 of 160 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_divider.dart - 0 of 45 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_icon_button.dart - 0 of 131 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_menu.dart - 0 of 142 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_radio_button.dart - 0 of 52 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_scrim.dart - 0 of 35 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_switch.dart - 0 of 113 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/bison_text_field.dart - 0 of 71 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/main.dart - 0 of 36 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

example/lib/main.directories.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

example/test - Directory excluded from coverage report

example/test/widget_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib - 1,325 of 1,707 lines covered ( ⛔ 77.62%)

lib/bison_design_system.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/core_widgets.dart - 0 of 19 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/src - 1,325 of 1,677 lines covered ( ⛔ 79.01%)

lib/src/core_widgets - 1,145 of 1,281 lines covered ( ✅ 89.38%)

lib/src/core_widgets/buttons - 301 of 309 lines covered ( ✅ 97.41%)

lib/src/core_widgets/buttons/bison_button.dart - 135 of 143 lines covered ( ✅ 94.41%)

Uncovered lines: ⚠️ 179-180, 206, 247, 250, 291, 294, 342

lib/src/core_widgets/buttons/bison_icon_button.dart - 166 of 166 lines covered ( 💎 100.00%)

:shipit:

lib/src/core_widgets/cards - 51 of 83 lines covered ( ⛔ 61.45%)

lib/src/core_widgets/cards/bison_card.dart - 51 of 83 lines covered ( ⛔ 61.45%)

Uncovered lines: ⚠️ 101, 127, 133, 152-155, 206-211, 221-225, 228-230, 250-253, 255, 257, 260-264

lib/src/core_widgets/checkboxes - 62 of 76 lines covered ( ⚠️ 81.58%)

lib/src/core_widgets/checkboxes/bison_checkbox.dart - 62 of 76 lines covered ( ⚠️ 81.58%)

Uncovered lines: ⚠️ 104-106, 129, 142, 144, 178-180, 226-227, 230-232

lib/src/core_widgets/chips - 103 of 136 lines covered ( ⛔ 75.74%)

lib/src/core_widgets/chips/bison_chip.dart - 103 of 136 lines covered ( ⛔ 75.74%)

Uncovered lines: ⚠️ 39, 55, 71, 129, 131-134, 137, 139-141, 143, 146, 148-151, 191, 236-237, 241-242, 282-285, 289, 292, 295, 298, 301, 304

lib/src/core_widgets/dialogs - 116 of 122 lines covered ( ✅ 95.08%)

lib/src/core_widgets/dialogs/bison_dialog.dart - 116 of 122 lines covered ( ✅ 95.08%)

Uncovered lines: ⚠️ 106, 108-109, 116, 118, 155

lib/src/core_widgets/dividers - 0 of 9 lines covered ( ⛔ 0.00%)

lib/src/core_widgets/dividers/bison_divider.dart - 0 of 9 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

lib/src/core_widgets/inputs - 220 of 240 lines covered ( ✅ 91.67%)

lib/src/core_widgets/inputs/bison_text_field.dart - 220 of 240 lines covered ( ✅ 91.67%)

Uncovered lines: ⚠️ 202-203, 205-207, 209-210, 216-218, 220-222, 224-225, 227, 468, 471, 645-646

lib/src/core_widgets/menus - 117 of 121 lines covered ( ✅ 96.69%)

lib/src/core_widgets/menus/bison_menu.dart - 117 of 121 lines covered ( ✅ 96.69%)

Uncovered lines: ⚠️ 152-153, 270, 359

lib/src/core_widgets/overlays - 12 of 12 lines covered ( 💎 100.00%)

lib/src/core_widgets/overlays/bison_scrim.dart - 12 of 12 lines covered ( 💎 100.00%)

:shipit:

lib/src/core_widgets/radios - 53 of 61 lines covered ( ⚠️ 86.89%)

lib/src/core_widgets/radios/bison_radio_button.dart - 53 of 61 lines covered ( ⚠️ 86.89%)

Uncovered lines: ⚠️ 77-79, 96, 98, 126-128

lib/src/core_widgets/switches - 110 of 112 lines covered ( ✅ 98.21%)

lib/src/core_widgets/switches/bison_switch.dart - 110 of 112 lines covered ( ✅ 98.21%)

Uncovered lines: ⚠️ 189, 197

lib/src/theme - 100 of 100 lines covered ( 💎 100.00%)

lib/src/theme/bison_theme_data.dart - 100 of 100 lines covered ( 💎 100.00%)

:shipit:

lib/src/theme/color_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/theme/shape_spacing_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/theme/typography_tokens.g.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

lib/src/token_parsers - 80 of 296 lines covered ( ⛔ 27.03%)

lib/src/token_parsers/color_parser.dart - 34 of 105 lines covered ( ⛔ 32.38%)

Uncovered lines: ⚠️ 5, 15-18, 20-22, 25-29, 31, 34-38, 41, 44, 49-53, 55, 58-59, 63-65, 67, 70, 73-76, 79, 82, 85-88, 91, 94, 96, 99-102, 172, 174-177, 179-183, 185-186, 189-190, 193-197, 199

lib/src/token_parsers/shape_spacing_parser.dart - 17 of 90 lines covered ( ⛔ 18.89%)

Uncovered lines: ⚠️ 4, 12-13, 15-18, 20-21, 24, 28-30, 32, 35-37, 39, 42, 45-46, 48, 51-53, 55-59, 61, 64, 67-71, 73, 75, 78, 81-83, 85, 88-90, 92, 95, 98-99, 101, 104-106, 108-112, 114, 117, 120-124, 126, 129, 132-135

lib/src/token_parsers/token_parser_utils.dart - 16 of 22 lines covered ( ⛔ 72.73%)

Uncovered lines: ⚠️ 33-34, 38-41

lib/src/token_parsers/typography_parser.dart - 13 of 79 lines covered ( ⛔ 16.46%)

Uncovered lines: ⚠️ 4, 9-10, 12-15, 17, 21-24, 27-28, 32-34, 36, 39, 42, 44-49, 53, 56, 59-60, 62-68, 70-72, 74, 76, 78, 80-83, 118, 122-125, 127-131, 133, 135-136, 139-143, 145

lib/theme.dart - 0 of 6 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

test - Directory excluded from coverage report

test/unit_tests - Directory excluded from coverage report

test/unit_tests/bison_theme_data_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/unit_tests/token_parser_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget - Directory excluded from coverage report

test/widget/buttons - Directory excluded from coverage report

test/widget/buttons/bison_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/buttons/bison_icon_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/cards - Directory excluded from coverage report

test/widget/cards/bison_card_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/checkboxes - Directory excluded from coverage report

test/widget/checkboxes/bison_checkbox_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/chips - Directory excluded from coverage report

test/widget/chips/bison_chip_object_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/common.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/dialogs - Directory excluded from coverage report

test/widget/dialogs/bison_dialog_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/inputs - Directory excluded from coverage report

test/widget/inputs/bison_text_field_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus - Directory excluded from coverage report

test/widget/menus/bison_menu_common.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus/bison_menu_function_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/menus/bison_menu_style_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/radios - Directory excluded from coverage report

test/widget/radios/bison_radio_button_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/switches - Directory excluded from coverage report

test/widget/switches/bison_switch_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/theme - Directory excluded from coverage report

test/widget/theme/bison_context_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

test/widget/theme/bison_theme_data_test.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

tool - 0 of 30 lines covered ( ⛔ 0.00%)

tool/color_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/generate_tokens.dart - 0 of 15 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/setup_git_hooks.dart - File excluded from coverage report

File is excluded from coverage report based on your `include_pattern` and `exclude_pattern` settings.

tool/shape_spacing_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

tool/typography_token_parser.dart - 0 of 5 lines covered ( ⛔ 0.00%)

⛔ This file is missing coverage.

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.

3 participants