Skip to content

Instantly share code, notes, and snippets.

@hongsw
Created April 5, 2023 01:46
Show Gist options
  • Save hongsw/7b068764bd0e43c3f419bcc35f48b794 to your computer and use it in GitHub Desktop.
Save hongsw/7b068764bd0e43c3f419bcc35f48b794 to your computer and use it in GitHub Desktop.
yawning-ritual-3174
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"
},
{
"title": "외모지상주의",
"image": "https://my-k-toon.web.app/webtoon/2.png"
}
];
runApp(MaterialApp(
home: Scaffold(
appBar: AppBar(title: Text("내폰내툰")),
body: Row(children: toons.map((item) =>
Column(children: [
Image.network(item['image']!),
Text(item['title']!)]),
).toList()
))));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment