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 'dart:ui'; | |
| import 'package:flutter/material.dart'; | |
| import 'dart:math' as math; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp 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 'dart:ui'; | |
| import 'package:flutter/material.dart'; | |
| import 'dart:math' as math; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| // Degree / Radians converter |
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 'dart:ui'; | |
| import 'package:flutter/material.dart'; | |
| import 'dart:math' as math; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| // Degree / Radians converter |
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; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| // Degree / Radians converter | |
| const double degrees2Radians = math.pi / 180.0; | |
| const double radians2Degrees = 180.0 / math.pi; |
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; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| // Degree / Radians converter | |
| const double degrees2Radians = math.pi / 180.0; | |
| const double radians2Degrees = 180.0 / math.pi; |
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'; | |
| const int _DefaultDashes = 20; | |
| const Color _DefaultColor = Color(0); | |
| const double _DefaultGapSize = 3.0; | |
| const double _DefaultStrokeWidth = 2.5; | |
| class DashedCircle extends StatelessWidget { | |
| final int dashes; |
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'; | |
| main() => runApp(MaterialApp(home: MyHomePage())); | |
| const int _DefaultDashes = 20; | |
| const Color _DefaultColor = Color(0); | |
| const double _DefaultGapSize = 3.0; | |
| const double _DefaultStrokeWidth = 2.5; |
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'; | |
| main() => runApp(MaterialApp(home: MyHomePage())); | |
| const int _DefaultDashes = 20; | |
| const Color _DefaultColor = Color(0); | |
| const double _DefaultGapSize = 3.0; | |
| const double _DefaultStrokeWidth = 2.5; |
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 |
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', | |
| ); |