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'; | |
import 'dart:math' as math; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
class MyHomePage extends StatelessWidget { | |
final itemWidth = 120.0; | |
final itemHorizontalMargin = 4.0; |
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'; | |
import 'dart:math' as math; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
class MyHomePage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( |
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'; | |
import 'dart:math' as math; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
class MyHomePage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( |
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'; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
final double itemWidth = 140.0; | |
final double itemHeight = 200.0; | |
final double horizontalItemMargin = 4.0; | |
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'; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
final double itemWidth = 140.0; | |
final double itemHeight = 200.0; | |
final double horizontalItemMargin = 4.0; | |
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'; | |
import 'package:ui_challenge_2/player_item.dart'; | |
import 'dart:math' as math; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
class MyHomePage extends StatelessWidget { | |
final double itemWidth = 120.0; | |
final double itemHeight = 200.0; | |
final double horizontalItemMargin = 4.0; |
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'; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
class MyHomePage extends StatelessWidget { | |
final double itemWidth = 188.0; | |
final double itemHeight = 200.0; | |
@override | |
Widget build(BuildContext context) { |
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'; | |
import 'package:ui_challenge_2/horizontal_snapping_list.dart'; | |
import 'package:ui_challenge_2/sizes.dart'; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
class GameModel { | |
final String image; | |
final String title; | |
final String subtitle; |
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'; | |
import 'dart:math' as math; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
final game1 = GameModel( | |
image: 'https://img.techpowerup.org/201029/game1.png', | |
title: 'Road Fight', | |
subtitle: 'Shooting Cars', | |
); |
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'; | |
main() => runApp(MaterialApp(home: MyHomePage())); | |
final double itemWidth = 188.0; | |
final double itemHeight = 200.0; | |
class MyHomePage extends StatelessWidget { | |
@override |