Pakete, Repositories und App-Kategorien suchen

Paketdetailsv0.0.5

slider_controller

Ein Paket, das uns einen Slider-Controller und ein benutzerdefiniertes Widget liefert. Dieses Widget wird zur einfachen Anpassung des Slider-Widgets verwendet.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
36
Likes
40
Pub-Punkte
160

Paket installieren

flutter pub add slider_controller

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Das slider_controller-Paket bietet einen anpassbaren Slider-Controller und -Widget für Flutter-Anwendungen. Es vereinfacht die Erstellung und Verwaltung von Schiebereglern mit erweitertem Kontrolle über Aussehen und Verhalten. Entwickler können die Optik und Funktionalität des Sliders einfach an spezifische Designanforderungen anpassen. Das Paket unterstützt alle wichtigen Plattformen, einschließlich Android, iOS, Web, macOS, Windows und Linux, und gewährleistet eine konsistente Leistung auf verschiedenen Geräten. Mit intuitiven APIs ermöglicht es eine reibungslose Integration in bestehende Projekte.

Anwendungsfälle

  • Benutzerdefinierte Slider-Designs
  • Interaktive Benutzeroberflächenelemente
  • Formulareingaben mit Bereichsauswahl
  • plattformübergreifende Schieberegler-Komponenten
  • Dynamische Wertanpassungen

Hauptmerkmale

  • Einfache Anpassung
  • Plattformübergreifende Unterstützung
  • Eingebaute Steuerungslogik
  • Integration von Responsive Design
  • erweiterbare Widget-Struktur

Geeignet für

  • UI-Entwickler
  • Flutter-Anfänger
  • Designorientierte Apps
  • Interaktive Formulare
  • Multiplattformprojekte

Hinweise

  • Grundkenntnisse in Flutter erforderlich
  • Beschränkt auf slider-spezifische Anwendungsfälle
  • Für komplexe Layouts kann zusätzliche Styling notwendig sein
  • Benötigt externe Abhängigkeiten für erweiterte Funktionen
  • Nicht geeignet für nicht-Schieberegler-Widgets

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

slider_controller

Flutter Website Dart Website MIT License

A package that gives us a slider controller a custom widget. This widget is used for easy customization for the slider widget.

Key Features

  • Ready to use custom slider widget.
  • Easy customization for the slider widget.

Preview

slider_controller

Basic Usage

Import it to your project file

import 'package:slider_controller/slider_controller.dart';

And add it in its most basic form like it:

SliderController(
  value: 50.0,
  onChanged: (value) {
    print('slider value : $value');
  },
);
Required parameters of SliderController

Parameter Description
double value Indicates the default slider thumb value between the 0.0 to 100.0
ValueChanged onChanged Called during a drag when the user is selecting a new value for the slider by dragging
Optional parameters of SliderController

Parameter Default Description
ValueChanged? onChangeEnd - Called when the user is done selecting a new value for the slider
ValueChanged? onChangeStart - Called when the user starts selecting a new value for the slider
double min 0.0 Indicates the Minimum value for the slider
double max 100.0 Indicates the Maximum value for the slider
SliderDecoration sliderDecoration -- Used to Decorate the Slider Widget
bool isDraggable true Used to Enable or Disable Drag Gesture of Slider
Optional parameters of SliderDecoration

Parameter Default Description
Color inactiveColor Colors.blueGrey Defines the background color of the inactive part of the slider
Color activeColor Colors.blue Defines the background color of the active part of the slider
Color thumbColor Colors.white Defines the thumb color of the slider
double borderRadius 20.0 Indicates the rounded border radius for the slider
double height 50.0 Indicates the height of the slider
bool isThumbVisible true Indicates that slider thumb is visible or not
double thumbHeight 25.0 Indicates the height of the slider thumb
double thumbWidth 5.0 Indicates the width of the slider thumb
Guideline for contributors

  • Contribution towards our repository is always welcome, we request contributors to create a pull request for development.
Guideline to report an issue/feature request

It would be great for us if the reporter can share the below things to understand the root cause of the issue.

  • Library version
  • Code snippet
  • Logs if applicable
  • Device specification like (Manufacturer, OS version, etc)
  • Screenshot/video with steps to reproduce the issue
  • Library used

LICENSE!

slider_controller is MIT-licensed.

Let us know!

We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.

Kategorien

Quell-Repository

Projekte, die dieses Paket verwenden

Noch keine Daten verfügbar.