Created
January 23, 2022 09:47
-
-
Save KrzysztofLen/fc054094bf37476aea70e2662a8860bf to your computer and use it in GitHub Desktop.
This is the source code of the Flutter Challenges series post: https://fun4code.com/10flutterchallanges-part2/
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:samples/switch_button/switch_button.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return const MaterialApp( | |
home: Scaffold( | |
body: SafeArea( | |
child: SwitchButton(), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment