tx_edu_toggle 0.0.2
tx_edu_toggle: ^0.0.2 copied to clipboard
This is a new toggle package. You can use a this widget. All package informations in README.md and usage part in pub.dev.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:untitled31/widgets/edu_toggle.dart';
void main() {
runApp(
const MaterialApp(
debugShowCheckedModeBanner: false,
home: Home(),
),
);
}
class Home extends StatelessWidget {
const Home({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const Scaffold(
body: Center(
child: EduToggle(elements: ["Weekly ","Montly ","Yearly "], isDark: true,),
),
);
}
}