square 0.0.1 square: ^0.0.1 copied to clipboard
A flutter package that contains a square switch.
Square #
This package contains a single widget. A square switch, in future i pretend to add some other widgets made for me.
Getting started #
To use you need add as dependency to your project.
dependencies:
square: ^1.0.0
Importing #
import 'package:square/square.dart';
Using #
Make sure importing the library before try to use it
import 'package:square/square.dart';
.
.
.
SquareSwitch(
activeTrackColor: Colors.blue,
inactiveTrackColor: Colors.cyan,
onChange: () {},
),