This file contains hidden or 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'; | |
| void main() { | |
| runApp(MaterialApp( | |
| title: 'Shopping App', | |
| home: ShoppingList( | |
| products: <Product>[ | |
| Product(name: 'Eggs'), | |
| Product(name: 'Flour'), | |
| Product(name: 'Chocolate chips'), |
This file contains hidden or 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'; | |
| void main() { | |
| runApp(MaterialApp( | |
| title: 'Flutter Tutorial', | |
| home: TutorialHome(), | |
| )); | |
| } | |
| class TutorialHome extends StatelessWidget { |
This file contains hidden or 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'; | |
| void main() { | |
| runApp(MaterialApp( | |
| title: 'Flutter Tutorial', | |
| themeMode: ThemeMode.light, | |
| home: TutorialHome(), | |
| )); | |
| } |
This file contains hidden or 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'; | |
| void main() { | |
| runApp(MaterialApp( | |
| title: 'Flutter Tutorial', | |
| home: TutorialHome(), | |
| )); | |
| } | |
| class TutorialHome extends StatelessWidget { |
This file contains hidden or 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'; | |
| void main() { | |
| runApp(MaterialApp( | |
| home: MyHomePage(), | |
| )); | |
| } | |
| class MyHomePage extends StatelessWidget { | |
| @override |
This file contains hidden or 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'; | |
| void main() { | |
| final firstPageContent = Container( | |
| width: 400.0, | |
| height: 400.0, | |
| decoration: BoxDecoration( | |
| color: Colors.orange, | |
| shape: BoxShape.circle, | |
| ), |
This file contains hidden or 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'; | |
| void main() { | |
| runApp(Text('Hello, Flutter world!')); | |
| } |
This file contains hidden or 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 Foundation | |
| import GoogleSignIn | |
| import GoogleAPIClientForREST | |
| enum GoogleCalendarManagerError: Error { | |
| case errorWithText(text: String) | |
| } | |
| class GoogleCalendarManager: NSObject { | |
| static let shared = GoogleCalendarManager() |
NewerOlder