From c24e01361aca18b99e62d6b46c40dc083523ebc8 Mon Sep 17 00:00:00 2001 From: kawaijoe Date: Tue, 16 Jul 2024 07:34:35 +0000 Subject: [PATCH] Commit from GitHub Actions (Forui Samples Presubmit) --- samples/lib/widgets/bottom_navigation_bar.dart | 6 +++--- samples/lib/widgets/scaffold.dart | 4 ++-- samples/test/widget_test.dart | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/samples/lib/widgets/bottom_navigation_bar.dart b/samples/lib/widgets/bottom_navigation_bar.dart index 58fe094ec..3fb31baac 100644 --- a/samples/lib/widgets/bottom_navigation_bar.dart +++ b/samples/lib/widgets/bottom_navigation_bar.dart @@ -13,9 +13,9 @@ class BottomNavigationBarPage extends SampleScaffold { @override Widget child(BuildContext context) => const Padding( - padding: EdgeInsets.all(15.0), - child: _Demo(), - ); + padding: EdgeInsets.all(15.0), + child: _Demo(), + ); } class _Demo extends StatefulWidget { diff --git a/samples/lib/widgets/scaffold.dart b/samples/lib/widgets/scaffold.dart index 8d068a646..03a521474 100644 --- a/samples/lib/widgets/scaffold.dart +++ b/samples/lib/widgets/scaffold.dart @@ -18,7 +18,7 @@ class ScaffoldPage extends SampleScaffold { SizedBox( height: 500, child: _Demo(), - ) + ), ], ); } @@ -81,7 +81,7 @@ final contents = [ ]; class _Demo extends StatefulWidget { - const _Demo({super.key}); + const _Demo(); @override State<_Demo> createState() => _DemoState(); diff --git a/samples/test/widget_test.dart b/samples/test/widget_test.dart index 29ee9d9a7..de549b692 100644 --- a/samples/test/widget_test.dart +++ b/samples/test/widget_test.dart @@ -6,11 +6,13 @@ // tree, read text, and verify that the values of widget properties are correct. import 'package:flutter/material.dart'; + import 'package:flutter_test/flutter_test.dart'; + import 'package:forui_samples/main.dart'; void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { + testWidgets('Counter increments smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(ForuiSamples());