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 it you need add as dependency to your project.

dependencies:
    square: ^0.0.2

Importing

import 'package:square/square.dart';

Usage

Make sure importing the library before try to use it

import 'package:square/square.dart';
        .
        .
        .
SquareSwitch(
    activeTrackColor: Colors.blue,
    inactiveTrackColor: Colors.cyan,
    onChange: () {},
),

alt text

Libraries

square