Skip to main content

FletGNavBar 🌟

Custom Google Navigation Bar (GNav) control for Flet apps, built on Flutter's google_nav_bar package.

PyPI Version Flutter Package License Build Status


Features

  • Fully compatible with Flet.
  • Supports tabs with icons, labels, and optional badges.
  • Customizable colors, active/inactive states, ripple, and hover effects.
  • Works on desktop, web, and mobile targets.

Installation

Git dependency

Add to your pyproject.toml:

dependencies = [
  "flet_gnav_bar @ git+https://github.com/pro-grammer-SD/flet_gnav_bar",
  "flet>=0.28.3",
]

PyPI dependency

If published on PyPI:

dependencies = [
  "flet_gnav_bar",
  "flet>=0.28.3",
]

Build your app:

flet build macos -v

Example Usage

import flet as ft
from flet_gnav_bar import FletGNavBar, FletGNavBarButton

def main(page: ft.Page):
    gnav = FletGNavBar(
        selected_index=0,
        tabs=[
            FletGNavBarButton(name="Home", icon_name="home", color="#2FB14F", badge="5"),
            FletGNavBarButton(name="Search", icon_name="search", color="#118DA3"),
            FletGNavBarButton(name="Profile", icon_name="user", color="#E6E21F", badge="!")
        ]
    )

    gnav.on_change = lambda _: print("Selected index:", gnav.selected_index)
    page.add(gnav)

ft.app(target=main)

Documentation

Full documentation is available here.


Metadata

Release files for flet-gnav-bar 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flet-gnav-bar 0.0.2
File Size Uploaded
flet_gnav_bar-0.0.2.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flet-gnav-bar 0.0.2
File Interpreter ABI Platform
flet_gnav_bar-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / flet_gnav_bar-0.0.2.tar.gz

Download URL flet_gnav_bar-0.0.2.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3a83d8992666dded7d7b3e2125eea7d6eb616c1fd71a5b2fa542fbc737dbc7a1
BLAKE2b-256 checksum
How to use checksums
52ed7c31fcacc204905e778ecc2078ae70035c89bff71743ccfaff6fbb11b5ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2025.

Transparency log

Release files / flet_gnav_bar-0.0.2-py3-none-any.whl

Download URL flet_gnav_bar-0.0.2-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41d67a308287c71fd2a38b689b51294764c700b1f6e8061c35f3006bc5ddc58f
BLAKE2b-256 checksum
How to use checksums
57e2abd66aa4d79c0f3ae9c64288c7f4666b7024c357fce1d49e5cb9140cd8a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page