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
| # Dockerfile for building Mine Cart Madness against an older GLib base | |
| # compatible with Steam Linux Runtime - Sniper (Debian 11 / GLib 2.66). | |
| # | |
| # Usage: | |
| # ./scripts/build_for_sniper.sh | |
| # | |
| # The resulting bundle in build/linux/x64/release/bundle/ will be | |
| # Sniper-compatible because it links against Debian 11's system libraries. | |
| FROM debian:11-slim |
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
| // This code is distributed under the MIT License. | |
| // Copyright (c) 2018 Felix Angelov. | |
| // You can find the original at https://github.com/felangel/bloc. | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_bloc/flutter_bloc.dart'; | |
| void main() { | |
| Bloc.observer = AppBlocObserver(); | |
| runApp(const App()); |
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' hide Gradient; | |
| import 'package:flame/components.dart'; | |
| import 'package:flame/game.dart'; | |
| import 'package:flame/effects.dart'; | |
| class SunSegment extends RectangleComponent { | |
| SunSegment(int i) | |
| : super( |
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:math'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flame/components.dart'; | |
| import 'package:flame/game.dart'; | |
| import 'package:flame/effects.dart'; | |
| final tween = Tween<double>(begin: 0, end: 360); | |
| final size = Colors.accents.length; |
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:flame/components.dart'; | |
| import 'package:flame/game.dart'; | |
| import 'package:flame/effects.dart'; | |
| void main() { | |
| const shadowSize = 10.0; | |
| runApp( | |
| GameWidget( | |
| game: FlameGame( |
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(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp(home: Home()); | |
| } | |
| } |
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(App()); | |
| class App extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| home: Scaffold( | |
| body: Home(), |
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(App()); | |
| class App extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| home: Scaffold( | |
| body: Row( |
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 color = Colors.red.withOpacity(0.8); | |
| runApp( | |
| MaterialApp( | |
| home: Scaffold( | |
| body: Center( | |
| child: Container( |
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 React, {useState} from 'react'; | |
| import { | |
| SafeAreaView, | |
| StyleSheet, | |
| View, | |
| TouchableOpacity, | |
| StatusBar, | |
| Image, | |
| } from 'react-native'; |
NewerOlder