Made build portable

This commit is contained in:
Alessandro Autiero
2022-10-07 17:23:30 +02:00
parent 000a2a53ed
commit 55467152c9
128 changed files with 54402 additions and 7 deletions

View File

@@ -0,0 +1,23 @@
import 'package:fluent_ui/fluent_ui.dart';
import 'package:flutter_test/flutter_test.dart';
import 'app_test.dart';
void main() {
final expanderKey = GlobalKey<ExpanderState>();
testWidgets('Expander intiallyExpanded works properly', (tester) async {
await tester.pumpWidget(
wrapApp(
child: Expander(
key: expanderKey,
initiallyExpanded: true,
header: const Text('Header'),
content: const Text('Content'),
),
),
);
expect(expanderKey.currentState!.open, true);
});
}