Flutter筆記: 創建帶Package Name 的專案 取得連結 Facebook Twitter Pinterest 電子郵件 其他應用程式 9月 13, 2019 Flutter創建帶Package Name 的專案 Debug Banner flutter create --org com.XXX project_name 取得連結 Facebook Twitter Pinterest 電子郵件 其他應用程式 留言
SwiftUI筆記:利用.fill填充漸層顏色到Rectangle() 8月 27, 2019 利用.fill填充漸層顏色到Rectangle() struct ContentView: View { var body: some View { Rectangle() .fill(LinearGradient(gradient: Gradient(colors: [Color.red,Color.yellow]), startPoint: .top, endPoint: .bottom )) } } 版本:Xcode11 Beta6 閱讀完整內容
Flutter筆記:移除APP右上角 Debug Banner 8月 30, 2019 Flutter移除APP右上角 Debug Banner MaterialApp中加入: debugShowCheckedModeBanner: false, import 'package:flutter/material.dart'; void main() => runApp( MaterialApp( debugShowCheckedModeBanner: false, home: Container(), ), ); 閱讀完整內容
Swift筆記:時間動作延遲 10月 12, 2019 利用RunLoop當前動作,延遲秒數再執行 Date()+1 = 1秒;Date()+5 = 5秒 RunLoop.current.run(until:Date()+1) 閱讀完整內容
留言
張貼留言