v1.4.0simple_gradient_text
快速且簡單地建立漸層文字,無論是線性或徑向,您只需決定顏色和要顯示的文字,非常容易。
124喜歡 6.6萬近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
快速且簡單地建立漸層文字,無論是線性或徑向,您只需決定顏色和要顯示的文字,非常容易。
以下為英文專案原文快照,最新內容請造訪 GitHub。
Requires Flutter >=3.29.0
Create gradient texts simply and quickly.
Only add simple_gradient_text package to your pubspec.yaml.
dependencies:
simple_gradient_text: 1.4.0
Then run flutter get --no-example.
Note: You can add directly - run flutter pub add simple_gradient_text in your project.
GradientText(
'Gradient Text Example',
style: TextStyle(
fontSize: 40.0,
),
colors: [
Colors.blue,
Colors.red,
Colors.teal,
],
),
GradientText(
'Gradient Text Example',
style: TextStyle(
fontSize: 40.0,
),
gradientType: GradientType.radial,
radius: 2.5,
colors: [
Colors.blue,
Colors.red,
Colors.teal,
],
),
依賴清單 3 項
{"sdk":"flutter"}{"sdk":"flutter"}^2.8.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗