Unverified Commit d8cdaba0 authored by nt4f04uNd's avatar nt4f04uNd Committed by GitHub

init (#82348)

parent 4ab29de6
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:ui' show window;
import 'package:flutter/gestures.dart'; import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart'; import 'package:flutter/rendering.dart';
...@@ -90,8 +88,6 @@ void main() { ...@@ -90,8 +88,6 @@ void main() {
locale: const Locale('en', 'us'), locale: const Locale('en', 'us'),
home: Directionality( home: Directionality(
textDirection: TextDirection.ltr, textDirection: TextDirection.ltr,
child: MediaQuery(
data: MediaQueryData.fromWindow(window),
child: Material( child: Material(
child: Center( child: Center(
child: Theme( child: Theme(
...@@ -112,7 +108,6 @@ void main() { ...@@ -112,7 +108,6 @@ void main() {
), ),
), ),
), ),
),
); );
} }
...@@ -141,8 +136,6 @@ void main() { ...@@ -141,8 +136,6 @@ void main() {
return MaterialApp( return MaterialApp(
home: Directionality( home: Directionality(
textDirection: TextDirection.ltr, textDirection: TextDirection.ltr,
child: MediaQuery(
data: MediaQueryData.fromWindow(window),
child: Material( child: Material(
child: Center( child: Center(
child: Theme( child: Theme(
...@@ -166,7 +159,6 @@ void main() { ...@@ -166,7 +159,6 @@ void main() {
), ),
), ),
), ),
),
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment