[benchmarks] Fix exception in scroll_flutter benchmarks app

The app needed a Directionality widget as the root widget. Normally,
this is provided by MaterialApp widget.

Bug: 55386
Change-Id: Ib2dbe461986f78ad73ae6f4aceb01a542506eef2
Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/407119
Reviewed-by: David Reveman <reveman@google.com>
Testability-Review: David Reveman <reveman@google.com>
Commit-Queue: Sanjay Chouksey <sanjayc@google.com>
diff --git a/benchmarks/bin/scroll_flutter/lib/main.dart b/benchmarks/bin/scroll_flutter/lib/main.dart
index d4df679..61f6879 100644
--- a/benchmarks/bin/scroll_flutter/lib/main.dart
+++ b/benchmarks/bin/scroll_flutter/lib/main.dart
@@ -144,26 +144,29 @@
 
   @override
   Widget build(BuildContext context) {
-    return ConstrainedBox(
-      constraints: BoxConstraints.expand(),
-      child: Container(
-        color: Colors.white,
-        child: ListView(
-          controller: _controller,
-          children: <Widget>[
-            Container(height: 8192.0),
-            Center(
-              child: Text(
-                'Scroll Me!',
-                style: TextStyle(
-                  color: Colors.black,
-                  fontWeight: FontWeight.bold,
-                  fontSize: 32,
+    return Directionality(
+      textDirection: ui.TextDirection.ltr,
+      child: ConstrainedBox(
+        constraints: BoxConstraints.expand(),
+        child: Container(
+          color: Colors.white,
+          child: ListView(
+            controller: _controller,
+            children: <Widget>[
+              Container(height: 8192.0),
+              Center(
+                child: Text(
+                  'Scroll Me!',
+                  style: TextStyle(
+                    color: Colors.black,
+                    fontWeight: FontWeight.bold,
+                    fontSize: 32,
+                  ),
                 ),
               ),
-            ),
-            Container(height: 8192.0),
-          ],
+              Container(height: 8192.0),
+            ],
+          ),
         ),
       ),
     );