-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
124 changed files
with
398 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-21.9 KB
forui/test/golden/badge/zinc-dark-FBadgeVariant.destructive-badge-content.png
Binary file not shown.
Binary file modified
BIN
-783 Bytes
(97%)
forui/test/golden/badge/zinc-dark-FBadgeVariant.destructive-raw-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-783 Bytes
(97%)
forui/test/golden/badge/zinc-dark-FBadgeVariant.destructive-text-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-22.8 KB
forui/test/golden/badge/zinc-dark-FBadgeVariant.outline-badge-content.png
Binary file not shown.
Binary file modified
BIN
-829 Bytes
(97%)
forui/test/golden/badge/zinc-dark-FBadgeVariant.outline-raw-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-829 Bytes
(97%)
forui/test/golden/badge/zinc-dark-FBadgeVariant.outline-text-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-22 KB
forui/test/golden/badge/zinc-dark-FBadgeVariant.primary-badge-content.png
Binary file not shown.
Binary file modified
BIN
-835 Bytes
(97%)
forui/test/golden/badge/zinc-dark-FBadgeVariant.primary-raw-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-835 Bytes
(97%)
forui/test/golden/badge/zinc-dark-FBadgeVariant.primary-text-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-21.8 KB
forui/test/golden/badge/zinc-dark-FBadgeVariant.secondary-badge-content.png
Binary file not shown.
Binary file modified
BIN
-885 Bytes
(97%)
forui/test/golden/badge/zinc-dark-FBadgeVariant.secondary-raw-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-885 Bytes
(97%)
forui/test/golden/badge/zinc-dark-FBadgeVariant.secondary-text-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-21.9 KB
forui/test/golden/badge/zinc-light-FBadgeVariant.destructive-badge-content.png
Binary file not shown.
Binary file modified
BIN
-626 Bytes
(98%)
forui/test/golden/badge/zinc-light-FBadgeVariant.destructive-raw-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-626 Bytes
(98%)
...i/test/golden/badge/zinc-light-FBadgeVariant.destructive-text-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-22.5 KB
forui/test/golden/badge/zinc-light-FBadgeVariant.outline-badge-content.png
Binary file not shown.
Binary file modified
BIN
-858 Bytes
(97%)
forui/test/golden/badge/zinc-light-FBadgeVariant.outline-raw-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-858 Bytes
(97%)
forui/test/golden/badge/zinc-light-FBadgeVariant.outline-text-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-22 KB
forui/test/golden/badge/zinc-light-FBadgeVariant.primary-badge-content.png
Binary file not shown.
Binary file modified
BIN
-836 Bytes
(97%)
forui/test/golden/badge/zinc-light-FBadgeVariant.primary-raw-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-836 Bytes
(97%)
forui/test/golden/badge/zinc-light-FBadgeVariant.primary-text-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-21.6 KB
forui/test/golden/badge/zinc-light-FBadgeVariant.secondary-badge-content.png
Binary file not shown.
Binary file modified
BIN
-856 Bytes
(97%)
forui/test/golden/badge/zinc-light-FBadgeVariant.secondary-raw-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-856 Bytes
(97%)
forui/test/golden/badge/zinc-light-FBadgeVariant.secondary-text-badge-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-531 Bytes
(98%)
.../golden/button/zinc-dark-FButtonVariant.destructive-disabled-button-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-518 Bytes
(98%)
...t/golden/button/zinc-dark-FButtonVariant.destructive-enabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-495 Bytes
(98%)
...est/golden/button/zinc-dark-FButtonVariant.outlined-disabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-565 Bytes
(98%)
...test/golden/button/zinc-dark-FButtonVariant.outlined-enabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-407 Bytes
(99%)
...test/golden/button/zinc-dark-FButtonVariant.primary-disabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-650 Bytes
(98%)
.../test/golden/button/zinc-dark-FButtonVariant.primary-enabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-542 Bytes
(98%)
...st/golden/button/zinc-dark-FButtonVariant.secondary-disabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-546 Bytes
(98%)
...est/golden/button/zinc-dark-FButtonVariant.secondary-enabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-284 Bytes
(99%)
...golden/button/zinc-light-FButtonVariant.destructive-disabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-462 Bytes
(98%)
.../golden/button/zinc-light-FButtonVariant.destructive-enabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-575 Bytes
(98%)
...st/golden/button/zinc-light-FButtonVariant.outlined-disabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-628 Bytes
(98%)
...est/golden/button/zinc-light-FButtonVariant.outlined-enabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-407 Bytes
(99%)
...est/golden/button/zinc-light-FButtonVariant.primary-disabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-642 Bytes
(98%)
...test/golden/button/zinc-light-FButtonVariant.primary-enabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-585 Bytes
(98%)
...t/golden/button/zinc-light-FButtonVariant.secondary-disabled-button-content.png
Oops, something went wrong.
Binary file modified
BIN
-575 Bytes
(98%)
...st/golden/button/zinc-light-FButtonVariant.secondary-enabled-button-content.png
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Binary file removed
BIN
-22.9 KB
forui/test/golden/dialog/zinc-dark-FDialogAlignment.horizontal-content.png
Diff not rendered.
Binary file added
BIN
+17.7 KB
...test/golden/dialog/zinc-dark-FDialogAlignment.horizontal-raw-dialog-content.png
Oops, something went wrong.
Binary file added
BIN
+17.7 KB
...est/golden/dialog/zinc-dark-FDialogAlignment.horizontal-text-dialog-content.png
Oops, something went wrong.
Binary file removed
BIN
-23.1 KB
forui/test/golden/dialog/zinc-dark-FDialogAlignment.vertical-content.png
Diff not rendered.
Binary file added
BIN
+17.8 KB
...i/test/golden/dialog/zinc-dark-FDialogAlignment.vertical-raw-dialog-content.png
Oops, something went wrong.
Binary file added
BIN
+17.8 KB
.../test/golden/dialog/zinc-dark-FDialogAlignment.vertical-text-dialog-content.png
Oops, something went wrong.
Binary file removed
BIN
-22.7 KB
forui/test/golden/dialog/zinc-light-FDialogAlignment.horizontal-content.png
Diff not rendered.
Binary file added
BIN
+17.3 KB
...est/golden/dialog/zinc-light-FDialogAlignment.horizontal-raw-dialog-content.png
Oops, something went wrong.
Binary file added
BIN
+17.3 KB
...st/golden/dialog/zinc-light-FDialogAlignment.horizontal-text-dialog-content.png
Oops, something went wrong.
Binary file removed
BIN
-22.7 KB
forui/test/golden/dialog/zinc-light-FDialogAlignment.vertical-content.png
Diff not rendered.
Binary file added
BIN
+17.5 KB
.../test/golden/dialog/zinc-light-FDialogAlignment.vertical-raw-dialog-content.png
Oops, something went wrong.
Binary file added
BIN
+17.5 KB
...test/golden/dialog/zinc-light-FDialogAlignment.vertical-text-dialog-content.png
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Binary file renamed
BIN
+28.2 KB
...olden/header/zinc-dark-header-actions.png → ...est/golden/header/zinc-dark-raw-title.png
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Binary file renamed
BIN
+28.2 KB
...lden/header/zinc-light-header-actions.png → ...st/golden/header/zinc-light-raw-title.png
Oops, something went wrong.
Binary file modified
BIN
-992 Bytes
(88%)
forui/test/golden/text_field/default-zinc-dark-focused-no-text.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-1.18 KB
(87%)
forui/test/golden/text_field/default-zinc-dark-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1020 Bytes
(88%)
forui/test/golden/text_field/default-zinc-dark-unfocused-no-text.png
Oops, something went wrong.
Binary file added
BIN
+7.73 KB
forui/test/golden/text_field/default-zinc-dark-unfocused-raw-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.13 KB
(87%)
forui/test/golden/text_field/default-zinc-dark-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.09 KB
(87%)
forui/test/golden/text_field/default-zinc-light-focused-no-text.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-1.23 KB
(86%)
forui/test/golden/text_field/default-zinc-light-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.1 KB
(86%)
forui/test/golden/text_field/default-zinc-light-unfocused-no-text.png
Oops, something went wrong.
Binary file added
BIN
+7.75 KB
forui/test/golden/text_field/default-zinc-light-unfocused-raw-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.17 KB
(87%)
forui/test/golden/text_field/default-zinc-light-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.18 KB
(86%)
forui/test/golden/text_field/email-zinc-dark-focused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-493 Bytes
(92%)
forui/test/golden/text_field/email-zinc-dark-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.17 KB
(86%)
forui/test/golden/text_field/email-zinc-dark-unfocused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-452 Bytes
(92%)
forui/test/golden/text_field/email-zinc-dark-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.28 KB
(85%)
forui/test/golden/text_field/email-zinc-light-focused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-400 Bytes
(94%)
forui/test/golden/text_field/email-zinc-light-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.28 KB
(85%)
forui/test/golden/text_field/email-zinc-light-unfocused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-334 Bytes
(94%)
forui/test/golden/text_field/email-zinc-light-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-852 Bytes
(90%)
forui/test/golden/text_field/error-zinc-dark-focused-no-text.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-1.08 KB
(88%)
forui/test/golden/text_field/error-zinc-dark-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-867 Bytes
(89%)
forui/test/golden/text_field/error-zinc-dark-unfocused-no-text.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-1.08 KB
(88%)
forui/test/golden/text_field/error-zinc-dark-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.09 KB
(87%)
forui/test/golden/text_field/error-zinc-light-focused-no-text.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-1.25 KB
(86%)
forui/test/golden/text_field/error-zinc-light-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-1.11 KB
(87%)
forui/test/golden/text_field/error-zinc-light-unfocused-no-text.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-1.22 KB
(87%)
forui/test/golden/text_field/error-zinc-light-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-375 Bytes
(94%)
forui/test/golden/text_field/multiline-zinc-dark-focused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-11.6 KB
(69%)
forui/test/golden/text_field/multiline-zinc-dark-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-405 Bytes
(93%)
forui/test/golden/text_field/multiline-zinc-dark-unfocused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-11.6 KB
(69%)
forui/test/golden/text_field/multiline-zinc-dark-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-384 Bytes
(94%)
forui/test/golden/text_field/multiline-zinc-light-focused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-10.2 KB
(73%)
forui/test/golden/text_field/multiline-zinc-light-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-391 Bytes
(93%)
forui/test/golden/text_field/multiline-zinc-light-unfocused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-9.97 KB
(74%)
forui/test/golden/text_field/multiline-zinc-light-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-590 Bytes
(92%)
forui/test/golden/text_field/password-zinc-dark-focused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-393 Bytes
(94%)
forui/test/golden/text_field/password-zinc-dark-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-588 Bytes
(92%)
forui/test/golden/text_field/password-zinc-dark-unfocused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-391 Bytes
(94%)
forui/test/golden/text_field/password-zinc-dark-unfocused-text.png
Oops, something went wrong.
Binary file modified
BIN
-679 Bytes
(91%)
forui/test/golden/text_field/password-zinc-light-focused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-435 Bytes
(93%)
forui/test/golden/text_field/password-zinc-light-focused-text.png
Oops, something went wrong.
Binary file modified
BIN
-683 Bytes
(91%)
forui/test/golden/text_field/password-zinc-light-unfocused-no-text.png
Oops, something went wrong.
Binary file modified
BIN
-342 Bytes
(94%)
forui/test/golden/text_field/password-zinc-light-unfocused-text.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import 'package:flutter_test/flutter_test.dart'; | ||
|
||
import 'package:forui/forui.dart'; | ||
|
||
void main() { | ||
group('FCard', () { | ||
for (final (string, raw) in [ | ||
(null, null), | ||
('', null), | ||
(null, const SizedBox()), | ||
]) { | ||
testWidgets('constructor title does not throw error', (tester) async { | ||
expect( | ||
() => FCard( | ||
title: string, | ||
rawTitle: raw, | ||
), | ||
returnsNormally, | ||
); | ||
}); | ||
|
||
testWidgets('constructor subtitle does not throw error', (tester) async { | ||
expect( | ||
() => FCard( | ||
subtitle: string, | ||
rawSubtitle: raw, | ||
), | ||
returnsNormally, | ||
); | ||
}); | ||
} | ||
|
||
for (final (string, raw) in [ | ||
('', const SizedBox()), | ||
]) { | ||
testWidgets('constructor title throws error', (tester) async { | ||
expect( | ||
() => FCard( | ||
title: string, | ||
rawTitle: raw, | ||
), | ||
throwsAssertionError, | ||
); | ||
}); | ||
|
||
testWidgets('constructor subtitle throws error', (tester) async { | ||
expect( | ||
() => FCard( | ||
subtitle: string, | ||
rawSubtitle: raw, | ||
), | ||
throwsAssertionError, | ||
); | ||
}); | ||
} | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
import 'package:flutter_test/flutter_test.dart'; | ||
|
||
import 'package:forui/forui.dart'; | ||
|
||
void main() { | ||
group('FDialog', () { | ||
for (final (string, raw) in [ | ||
(null, null), | ||
('', null), | ||
(null, const SizedBox()), | ||
]) { | ||
testWidgets('constructor title does not throw error', (tester) async { | ||
expect( | ||
() => FDialog( | ||
title: string, | ||
rawTitle: raw, | ||
actions: const [], | ||
), | ||
returnsNormally, | ||
); | ||
}); | ||
|
||
testWidgets('constructor body does not throw error', (tester) async { | ||
expect( | ||
() => FDialog( | ||
body: string, | ||
rawBody: raw, | ||
actions: const [], | ||
), | ||
returnsNormally, | ||
); | ||
}); | ||
} | ||
|
||
for (final (string, raw) in [ | ||
('', const SizedBox()), | ||
]) { | ||
testWidgets('constructor title throws error', (tester) async { | ||
expect( | ||
() => FDialog( | ||
title: string, | ||
rawTitle: raw, | ||
actions: const [], | ||
), | ||
throwsAssertionError, | ||
); | ||
}); | ||
|
||
testWidgets('constructor body throws error', (tester) async { | ||
expect( | ||
() => FDialog( | ||
body: string, | ||
rawBody: raw, | ||
actions: const [], | ||
), | ||
throwsAssertionError, | ||
); | ||
}); | ||
} | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
@Tags(['golden']) | ||
library; | ||
|
||
import 'package:flutter/cupertino.dart'; | ||
|
||
import 'package:flutter_test/flutter_test.dart'; | ||
|
||
import 'package:forui/forui.dart'; | ||
import '../../test_scaffold.dart'; | ||
|
||
const title = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'; | ||
|
||
void main() { | ||
group('FHeader', () { | ||
for (final (name, theme, _) in TestScaffold.themes) { | ||
testWidgets('$name with FHeader actions', (tester) async { | ||
await tester.pumpWidget( | ||
TestScaffold( | ||
data: theme, | ||
child: Padding( | ||
padding: const EdgeInsets.symmetric(horizontal: 20), | ||
child: FHeader( | ||
title: title, | ||
actions: [ | ||
FHeaderAction( | ||
icon: FAssets.icons.alarmClock, | ||
onPress: null, | ||
), | ||
FHeaderAction( | ||
icon: FAssets.icons.plus, | ||
onPress: () {}, | ||
), | ||
], | ||
), | ||
) | ||
), | ||
); | ||
|
||
await expectLater( | ||
find.byType(TestScaffold), | ||
matchesGoldenFile('header/$name-header.png'), | ||
); | ||
}); | ||
|
||
testWidgets('$name with raw title', (tester) async { | ||
await tester.pumpWidget( | ||
TestScaffold( | ||
data: theme, | ||
child: Padding( | ||
padding: const EdgeInsets.symmetric(horizontal: 20), | ||
child: FHeader( | ||
rawTitle: const Text('Title'), | ||
actions: [ | ||
FHeaderAction( | ||
icon: FAssets.icons.alarmClock, | ||
onPress: null, | ||
), | ||
FHeaderAction( | ||
icon: FAssets.icons.plus, | ||
onPress: () {}, | ||
), | ||
], | ||
), | ||
) | ||
), | ||
); | ||
|
||
await expectLater( | ||
find.byType(TestScaffold), | ||
matchesGoldenFile('header/$name-raw-title.png'), | ||
); | ||
}); | ||
} | ||
}); | ||
} |
Oops, something went wrong.