Created
November 15, 2020 03:51
-
-
Save anzfactory/63fedc781624258a4c91c11a75377ff4 to your computer and use it in GitHub Desktop.
特定の画像表示でクラッシュする 🤔
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale ja-JP) | |
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1) | |
[✓] Xcode - develop for iOS and macOS (Xcode 11.7) | |
[✓] Android Studio (version 3.5) | |
[✓] VS Code (version 1.51.1) | |
[✓] Connected device (1 available) | |
*/ | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', | |
theme: ThemeData( | |
primarySwatch: Colors.blue, | |
), | |
home: Scaffold( | |
appBar: AppBar( | |
title: Text("画像表示でクラッシュするンゴ"), | |
), | |
body: Center( | |
child: SizedBox.fromSize( | |
size: Size.fromHeight(200), | |
child: Image.network( | |
// この画像表示するとクラッシュする | |
"http://ketsuekigatakun.com/wp-content/uploads/2019/03/bigstock-146597552.jpg", | |
// こっちは大丈夫 | |
// "https://higurashianime.com/ogp2.jpg", | |
), | |
), | |
), | |
), | |
); | |
} | |
} |
関係ある? 👀
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
log