Skip to content

Commit

Permalink
Commit from GitHub Actions (Forui Presubmit)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pante committed Nov 5, 2024
1 parent eeb2fd0 commit 1eb0a6c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import 'package:flutter/widgets.dart';

import 'package:forui/forui.dart';
import 'package:meta/meta.dart';

import 'package:forui/forui.dart';

/// A controller for a select group.
abstract class FSelectGroupController<T> extends FChangeNotifier {
final Set<T> _values;
Expand Down
4 changes: 3 additions & 1 deletion forui/lib/src/widgets/select_menu_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:meta/meta.dart';

import 'package:forui/forui.dart';
import 'package:forui/src/widgets/select_group/select_group_controller.dart';
import 'package:meta/meta.dart';

/// A tile that, when triggered, displays a list of options for the user to pick from.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void main() {
await tester.pumpWidget(
TestScaffold.app(
theme: theme.data,
child: FSelectMenuTile(
child: FSelectMenuTile(
groupController: controller,
prefixIcon: FIcon(FAssets.icons.calendar),
label: const Text('Label'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void main() {
testWidgets('tap on tile opens menu', (tester) async {
await tester.pumpWidget(
TestScaffold.app(
child: FSelectMenuTile(
child: FSelectMenuTile(
groupController: controller,
prefixIcon: FIcon(FAssets.icons.calendar),
label: const Text('Label'),
Expand Down Expand Up @@ -43,7 +43,7 @@ void main() {
testWidgets('selecting item in menu does not close it', (tester) async {
await tester.pumpWidget(
TestScaffold.app(
child: FSelectMenuTile(
child: FSelectMenuTile(
groupController: controller,
prefixIcon: FIcon(FAssets.icons.calendar),
label: const Text('Label'),
Expand Down Expand Up @@ -74,7 +74,7 @@ void main() {
testWidgets('selecting item in menu closes it', (tester) async {
await tester.pumpWidget(
TestScaffold.app(
child: FSelectMenuTile(
child: FSelectMenuTile(
autoHide: true,
groupController: controller,
prefixIcon: FIcon(FAssets.icons.calendar),
Expand Down

0 comments on commit 1eb0a6c

Please sign in to comment.