Skip to content

Commit

Permalink
Commit from GitHub Actions (Forui Samples Presubmit)
Browse files Browse the repository at this point in the history
  • Loading branch information
kawaijoe committed Jul 16, 2024
1 parent 53f597d commit c24e013
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions samples/lib/widgets/bottom_navigation_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions samples/lib/widgets/scaffold.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ScaffoldPage extends SampleScaffold {
SizedBox(
height: 500,
child: _Demo(),
)
),
],
);
}
Expand Down Expand Up @@ -81,7 +81,7 @@ final contents = [
];

class _Demo extends StatefulWidget {
const _Demo({super.key});
const _Demo();

@override
State<_Demo> createState() => _DemoState();
Expand Down
4 changes: 3 additions & 1 deletion samples/test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit c24e013

Please sign in to comment.