addd
diff --git a/dev/integration_tests/ios_host_app/flutterapp/lib/resize b/dev/integration_tests/ios_host_app/flutterapp/lib/resize
new file mode 100644
index 0000000..adc6d5a
--- /dev/null
+++ b/dev/integration_tests/ios_host_app/flutterapp/lib/resize
@@ -0,0 +1,75 @@
+import 'package:flutter/material.dart';
+
+/// The main application widget for the Fruit Catalog.
+class ResizeApp extends StatefulWidget {
+ /// Creates the [ResizeApp].
+ const ResizeApp({super.key});
+
+ @override
+ State<ResizeApp> createState() => _ResizeAppState();
+}
+
+class _ResizeAppState extends State<ResizeApp> {
+ int _counter = 1;
+ void _incrementCounter() {
+ setState(() {
+ // This call to setState tells the Flutter framework that something has
+ // changed in this State, which causes it to rerun the build method below
+ // so that the display can reflect the updated values. If we changed
+ // _counter without calling setState(), then the build method would not be
+ // called again, and so nothing would appear to happen.
+ if (_counter > 40) {
+ _counter = 1;
+ }
+ _counter++;
+ });
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ // return Text(
+ // "Hello from Flutter",
+ // textDirection: TextDirection.ltr,
+ // style: TextStyle(color: Colors.pink),
+ // );
+ // return const Center(
+ // heightFactor: 1,
+ // child: Text(
+ // "Hello from Flutter",
+ // textDirection: TextDirection.ltr,
+ // style: TextStyle(color: Colors.pink),
+ // ),
+ // );
+
+ return Center(
+ heightFactor: 1,
+ child: Directionality(
+ textDirection: TextDirection.ltr,
+ child: Column(
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ Padding(
+ padding: const EdgeInsets.fromLTRB(8.0, 50, 8.0, 8.0),
+ child: ElevatedButton(
+ onPressed: _incrementCounter,
+ child: Text("Add to list"),
+ // style: ButtonStyle(
+ // splashFactory:
+ // NoSplash.splashFactory, // Removes the ripple effect
+ // overlayColor: MaterialStateProperty.all(
+ // Colors.transparent,
+ // ), // Removes hover/press overlay
+ // ),
+ ),
+ ),
+ for (int i = 0; i < _counter; i++)
+ Text(
+ "Hello from Flutter $i",
+ style: TextStyle(color: Colors.pink),
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+}