Created with <3 with dartpad.dev.
Created
April 5, 2023 01:21
-
-
Save hongsw/bf50b7fe444136604771cd953b46188a to your computer and use it in GitHub Desktop.
yawning-ritual-3174
This file contains hidden or 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
import 'package:flutter/material.dart'; | |
void main() { | |
final toons = [ | |
{ | |
"title": "이상한 변호사 우영우", | |
"image": "https://my-k-toon.web.app/webtoon/1.png" | |
}, | |
{ | |
"title": "외모지상주의", | |
"image": "https://my-k-toon.web.app/webtoon/2.png" | |
} | |
]; | |
runApp(MaterialApp( | |
home: Scaffold( | |
appBar: AppBar(title: Text("내폰내툰")), | |
body: Row(children: [ | |
Column(children: [ | |
Image.network(toons[0]['image']!), | |
Text(toons[0]['title']!)]), | |
Column(children: [ | |
Image.network(toons[1]['image']!), | |
Text(toons[1]['title']!)]) | |
])))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment