Skip to content

Instantly share code, notes, and snippets.

@joramkimata
Created June 29, 2020 14:50
Show Gist options
  • Save joramkimata/450f692cb44cb1287c87e1acf7d6f20b to your computer and use it in GitHub Desktop.
Save joramkimata/450f692cb44cb1287c87e1acf7d6f20b to your computer and use it in GitHub Desktop.
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