課程
/移動開發
/Android
/Flutter入門與案例實戰
flutter圖片點擊代碼怎么寫?
2019-03-01
源自:Flutter入門與案例實戰 3-4
正在回答
new GestureDetector(
onTap: () => debugPrint('點擊了圖片'),
child: new Image.network(
'https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2551353482.webp',
fit: BoxFit.cover,
),
舉報
帶你入門Flutter,并完成屬于自己的第一個Flutter小案例。
1 回答ontap事件
5 回答圖片顯示不出來
1 回答圖片顯示不出來
1 回答請問圖片的網址是?
1 回答網絡圖片無法加載
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2019-04-21
new GestureDetector(
onTap: () => debugPrint('點擊了圖片'),
child: new Image.network(
'https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2551353482.webp',
fit: BoxFit.cover,
),
),