flutter_custom_switch 0.0.2
flutter_custom_switch: ^0.0.2

Flutter Android iOS web

A Flutter package for both android and iOS which provides Custom switch widget.

flutter_custom_switch #

A Flutter package for both android and iOS which provides Custom switch widget.

Screenshots #

alt text

Usage #

Example

To use this package :

  dependencies:
    flutter:
      sdk: flutter
    flutter_custom_switch:

How to use #

FlutterCustomSwitch(
          value: true,
          onChanged: (value) {},
          activeImagePath: dayImage,
          inActiveImagePath: nightImage,
        ),

Types #

  • Default view
  • Active & In-Active color changes
  • Active & In-Active thumb color changes
  • Active & In-Active image changes
  • Active & In-Active thumb image changes
  • On - Off text view

License #

Copyright 2020 Vignesh Prakash

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

1
likes
110
pub points
26%
popularity

A Flutter package for both android and iOS which provides Custom switch widget.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

vigneshofficial.dev@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_custom_switch