Skip to content

Instantly share code, notes, and snippets.

Shams Zakhour Sfshaza

Block or report user

Report or block Sfshaza

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Sfshaza
Sfshaza / main.dart
Last active Aug 23, 2018
Step 7-NEW: Getting Started with Flutter codelab
View main.dart
// Final app - the app's primary color is now white.
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@Sfshaza
Sfshaza / main.dart
Created Apr 18, 2018
Step 6-NEW: Flutter Get Started codelab
View main.dart
// Add a new route to hold the favorites.
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@Sfshaza
Sfshaza / main.dart
Created Apr 18, 2018
Step 5-NEW: Getting Started with Flutter Codelab
View main.dart
// Make the heart icons tappable.
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@Sfshaza
Sfshaza / main.dart
Last active Apr 12, 2019
Step 4a: Getting Starting with Flutter
View main.dart
// Add the heart icons to the ListView.
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@Sfshaza
Sfshaza / main.dart
Last active Mar 3, 2018
Step 7: Flutter Get Started codelab
View main.dart
// Step 7 (Final): Change the app's theme
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@Sfshaza
Sfshaza / main.dart
Created Feb 24, 2018
Step 6: Flutter Get Started codelab
View main.dart
// Step 6: Navigate to a new route
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@Sfshaza
Sfshaza / main.dart
Last active Mar 3, 2018
Step 5: Flutter Get Started codelab
View main.dart
// Step 5: Add a lazily loading infinite scrolling ListView.
// Also, add a heart icon so users can favorite word pairings.
// Save the word pairings in the State class.
// Make the hearts tappable and save the favorites list in the
// State class.
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
@Sfshaza
Sfshaza / main.dart
Last active Apr 18, 2018
Step 4: Flutter's Getting Started Codelab
View main.dart
// Create an infinite scrolling lazily loaded list
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@Sfshaza
Sfshaza / main.dart
Last active Apr 12, 2019
Step 3 - Flutter's Getting Started Codelab
View main.dart
// Add a stateful widget
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@Sfshaza
Sfshaza / main.dart
Last active Apr 12, 2019
Step 2: Flutter Getting Started Codelab
View main.dart
// Add the English words package and generate a word pairing each
// time the app is hot reloaded.
import 'package:flutter/material.dart';
import 'package:english_words/english_words.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
You can’t perform that action at this time.