FLUTTER ECOSYSTEM

tiagosito/switcher

Ein schönes und personalisierbares Switch-Komponente

Projektcover von Schalter
Stars
2
Forks
1
Letzter Push (UTC)
02.08.2024
Projektstatus
Aktiv
Tiagosito GitHub avatar
GITHUB User

Tiagosito ↗

Mobile Software Engineer at banco BV | 200DEV | Co-organizer at Flutterando https://flutterando.com.br/

banco BVHortolândia, São Paulo, BrasilOffizielle Website ↗
SprachenDartHTMLObjective-CJavaSwiftKotlin

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 2 Einträge
  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen
logo

A animated, beautiful and personalized switcher component.

Based on Eduardo Muñoz's widget lite_rolling_switch

 

Pub Package Buy Me A Coffee

Overview

A animated and beautiful Switcher

Contributing
Getting Started

In pubspec.yaml:

dependencies:
  switcher: any
See how:
Using switcher Using switcher Using switcher Using switcher Using switcher Using switcher Using switcher Using switcher
import 'package:switcher/switcher.dart';

Switcher(
    value: false,
    size: SwitcherSize.large,
    switcherButtonRadius: 50,
    enabledSwitcherButtonRotate: true,
    iconOff: Icons.lock,
    iconOn: Icons.lock_open,
    colorOff: Colors.blueGrey.withOpacity(0.3),
    colorOn: Colors.blue,
    onChanged: (bool state) {
    //
    },
),

 Switcher(
    value: false,
    size: SwitcherSize.large,
    switcherButtonRadius: 50,
    iconOff: null,
    enabledSwitcherButtonRotate: false,
    colorOff: Colors.blueGrey.withOpacity(0.3),
    colorOn: Colors.blue,
    onChanged: (bool state) {
    //
    },
),

Features and bugs

Please send feature requests and bugs at the issue tracker.