FLUTTER ECOSYSTEM

shirne/progress_border

Ein BoxBorder wie Border, aber zeichnet einen Teil der Grenze entsprechend dem Fortschritt, unterstützt Kreis, Rechteck, Rechteck

Projektcover von Fortschrittsrand
Stars
16
Forks
3
Letzter Push (UTC)
01.11.2023
Projektstatus
Aktiv
shirne GitHub avatar
GITHUB User

shirne ↗

Flutter/PHP/Java/.NET/Vue

语辰软件中国广东惠州Offizielle Website ↗
SprachenDartC++CMakeHTMLCSwiftKotlinObjective-C

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 3 Einträge
  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}
  • flutter_lintsEntwicklung^2.0.0

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

ProgressBorder

pub package

A BoxBorder like Border but draw part of the border according to the progress, supported circle, rect, rectangle.

Features

  • ✅ Draw part of border
  • ✅ Supported circle, reactangle
  • ✅ Background Border under progress border
  • 🚧 PathMetric cache
  • 🚧 Custom Paint

Preview

ProgressBorder
toast

Getting started

flutter pub add progress_border

Usage

Container(
    width: 100,
    height: 100,
    decoration: BoxDecoration(
        color: Colors.blue.withAlpha(100),
        border: ProgressBorder.all(
        color: Colors.blue,
        width: 8,
        progress: animationController.value,
        ),
    ),
);

More usage see /example folder.

Additional information

To use this library in versions lower than Flutter 3.7, please specify the version number as 0.0.x.