Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt committed Dec 9, 2023
1 parent 9ba60e4 commit f7ec8ea
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,22 +254,35 @@ class _PlusBaseColors extends StatelessWidget {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_BackToSelectTypeButton(),
const Center(
child: Text(
'Grundfarbe auswählen',
style: TextStyle(fontSize: 20),
textAlign: TextAlign.center,
),
),
const SizedBox(height: 20),
Padding(
padding: const EdgeInsets.only(left: 30),
child: _BackToSelectTypeButton(),
),
const SizedBox(height: 16),
Wrap(
spacing: 10,
runSpacing: 10,
children: [
..._baseColors.map(
(color) {
final design = Design.fromColor(color);
return _ColorCircleSelectDesign(
design: design,
onTap: () => onBaseColorChanged!(color),
);
},
).toList(),
],
Center(
child: Wrap(
spacing: 10,
runSpacing: 10,
children: [
..._baseColors.map(
(color) {
final design = Design.fromColor(color);
return _ColorCircleSelectDesign(
design: design,
onTap: () => onBaseColorChanged!(color),
);
},
).toList(),
],
),
),
],
);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void main() {
});

testGoldens(
'displays select an accurate color dialog as expected (light mode)',
'displays select a color shade dialog as expected (light mode)',
(tester) async {
await pumpSelectDesignDialog(tester, theme: lightTheme);

Expand All @@ -92,7 +92,7 @@ void main() {
});

testGoldens(
'displays select an accurate color dialog as expected (dark mode)',
'displays select a color shade dialog as expected (dark mode)',
(tester) async {
await pumpSelectDesignDialog(tester, theme: darkTheme);

Expand Down

0 comments on commit f7ec8ea

Please sign in to comment.