iosstyleswitch 0.0.3 copy "iosstyleswitch: ^0.0.3" to clipboard
iosstyleswitch: ^0.0.3 copied to clipboard

outdated

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

//////

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

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

class MyApp extends StatelessWidget { // This widget is the root of your application. @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
20
pub points
49%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on iosstyleswitch