scaffold_gradient_background
グラデーションを背景として使用して、Scaffold を作成できる Flutter パッケージです。
- スター
- 10
- フォーク
- 4
- 最終プッシュ(UTC)
- 2021/07/08
- プロジェクト状態
- 公開中
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Gradient Scaffold
A fully customizable scaffold widget, but which can take a gradient as its background.
Screenshots
Getting Started
This package is for setting a gradient as background for a scaffold. You have no disadvantages and can use all the functionalities of a scaffold.
How to create a simple scaffold with gradient:
Add this package to pubspec.yaml:
dependencies:
scaffold_gradient_background:
Import the package in the class in which you want to use the scaffold with gradient:
import 'package:scaffold_gradient_background/scaffold_gradient_background.dart';
Now create a GradientScaffold widget and customize it to your liking!
GradientScaffold(
gradient: LinearGradient(
begin: Alignment.bottomLeft,
end: Alignment.topRight,
colors: [
Color(0xFF8EC5FC),
Color(0xFFE0C3FC),
],
),
appBar: AppBar(
title: Text('Linear Gradient Example'),
),
body: Center(
child: Text(
'Hello ^^',
style: TextStyle(
color: Colors.white,
fontSize: 30,
),
),
),
);
That's about it. You don't need to do much more and as you can see, it works perfectly!
Personal links
言語Dart
使用している依存関係
依存関係一覧 2 件
- flutter
{"sdk":"flutter"} - flutter_test開発用
{"sdk":"flutter"}
プロジェクトに合うリポジトリを選ぶには?
用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
- 名前・作者・説明で検索し、技術トピックで絞り込みます。
- スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
- 利用前に GitHub で README、ライセンス、Issues を確認します。
情報源と管理
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗

