:::

6-17 AppBar 加入底圖或用圖片當標題

return Scaffold(
      appBar: AppBar(
        // title: Text(widget.title),
        title: Image.asset('assets/images/logo.png'),
        flexibleSpace: Image(
          image: AssetImage('assets/images/bg.jpg'),
          fit: BoxFit.cover,
        ),
        backgroundColor: Colors.transparent,
      ),
);

 


:::

書籍目錄

展開 | 闔起

快速登入


http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1909%26tbsn%3D42

計數器

今天: 642642642
昨天: 3068306830683068
總計: 8077147807714780771478077147807714780771478077147