ios_style_switch

a flutter package for ios style switch and switch Buttons with full costomization (android , iod , web , mac , windows)

Getting Started

in this package you can create a ios switch button and taggle and also a switch list tile with full customization

screenshoots


Example

//////

Copy this example code and kindly Ctrl + alt + f :)

import 'package:flutter/material.dart'; import 'package:iosstyleswitch/iosstyleswitch.dart';

void main() { runApp(MyApp()); }

class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: SafeArea( child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ IosSwitch( onChanged: (v){}, ), SizedBox(height: 15,) , IosSwitchButton( color: Colors.grey200, onChanged: (v) {}, bodyWidget: Text( "Allow sounds", style: TextStyle(fontSize: 20), ), ), ], ), ), )), ); } }

////// code

Libraries

iosstyleswitch
IosSwitch
IosSwitchButton