Pakete, Repositories und App-Kategorien suchen

GitHub-Repositorysametcilingir/fadescrollappbar

fadescrollappbar

sametcilingir/fadescrollappbar open-source repository details.

Projektcover von fadescrollappbar
Sterne
4
Forks
1
Letzter Push (UTC)
12.05.2022
Projektstatus
Aktiv

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Fade Scroll App Bar

With this package, you can create a large appbar and make a smooth fade effect by swiping.

Features

App Screenshot 0 App Screenshot 1 App Screenshot 2

Usage

First you should create ScrollController.

  final ScrollController _scrollController = ScrollController();

And adding in it.

FadeScrollAppBar(
        scrollController: _scrollController,
        appBarLeading: Icon(Icons.flutter_dash_outlined),
        appBarTitle: Text('Cool App Bar'),
        appBarForegroundColor: Colors.amber,
        pinned: true,
        fadeOffset: 120,
        expandedHeight: 250,
        backgroundColor: Colors.white,
        fadeWidget: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Text("Really Good App Bar",
                style: Theme.of(context).textTheme.headline2?.copyWith(
                      color: Colors.black,
                    )),
          ],
        ),
        bottomWidgetHeight: 40,
        bottomWidget: Row(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Chip(
              label: Text("Great"),
              backgroundColor: Colors.amber,
              side: BorderSide(
                color: Colors.white,
                width: 1,
              ),
            ),
            SizedBox(width: 10),
            Chip(
              label: Text("App Bar"),
              backgroundColor: Colors.amber,
              side: BorderSide(
                color: Colors.white,
                width: 1,
              ),
            ),
          ],
        ),
        child: ListView.builder(
          itemCount: 100,
          itemBuilder: (BuildContext context, int index) {
            return Padding(
              padding: const EdgeInsets.all(8.0),
              child: Container(
                height: 100,
                width: 300,
                color: Colors.blue,
              ),
            );
          },
        ),
      ),
Samet Çilingir GitHub avatar
GitHub-Autor

Samet Çilingir ↗

You know I'm something of a developer myself.

Turkey
SprachenDart

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 3 Einträge

  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}
  • flutter_lintsEntwicklung^1.0.0

Wie wähle ich ein passendes Repository?

Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.

  1. Nach Name, Autor oder Beschreibung suchen und nach Thema eingrenzen.
  2. Sterne, Forks und letzte Pushes vergleichen. Sterne zeigen Interesse, garantieren aber keine Qualität.
  3. Vor der Nutzung README, Lizenz und Issues auf GitHub prüfen.

Quellen und Pflege

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗