Created
June 29, 2020 14:50
-
-
Save joramkimata/450f692cb44cb1287c87e1acf7d6f20b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:getwidget/getwidget.dart'; | |
class App extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( | |
appBar: AppBar( | |
title: Text( | |
"ToggleApp", | |
), | |
), | |
body: Center( | |
child: GFToggle( | |
onChanged: null, | |
value: null, | |
type: GFToggleType.custom, | |
), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment