:::

6-8 漸層底色

  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        decoration: BoxDecoration(
          gradient: LinearGradient(
            begin: Alignment.topRight,
            end: Alignment.bottomLeft,
            colors: [
              Colors.orange,
              Colors.orange[200],
            ]
          ),
        ),
      ),
    );
  }
}

 


:::

書籍目錄

展開 | 闔起

快速登入


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

計數器

今天: 693693693
昨天: 3068306830683068
總計: 8077198807719880771988077198807719880771988077198