iosstyleswitch 0.0.4 icon indicating copy to clipboard operation
iosstyleswitch: ^0.0.4 copied to clipboard

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

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.grey[200], onChanged: (v) {}, bodyWidget: Text( "Allow sounds", style: TextStyle(fontSize: 20), ), ), ], ), ), )), ); } }

////// code

4
likes
80
pub points
65%
popularity

Publisher

unverified uploader

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

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on iosstyleswitch