This file contains 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()); | |
abstract class ClassPreviewConfig { | |
final String name; | |
final String icon; | |
final String description; | |
const ClassPreviewConfig(this.name, this.icon, this.description); |
This file contains 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
// ignore_for_file: prefer_const_constructors_in_immutables | |
import 'dart:async'; | |
import 'dart:math' as math; | |
import 'dart:ui'; | |
import 'dart:typed_data'; | |
import 'package:flutter/material.dart'; | |
void main() { |
This file contains 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'; | |
void main() => runApp(MyApp()); | |
Color randomColor() { | |
Random r = Random(); | |
return Color(0xFF000000 + r.nextInt(0x00FFFFFF)); | |
} |
This file contains 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
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override |
This file contains 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
class Transaction { | |
final int amount; | |
final DateTime date; | |
final String title; | |
final String accountType; | |
final String notes; | |
final String id; | |
final String repeat; | |
Transaction({ |
This file contains 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'; | |
// Generate a list of numbers with a configurable length | |
// The numbers range from 1 to 1 million | |
// The goal is to then generate a list of all numbers in that list | |
// which are less than 5 hundred thousand | |
// This script compares three approaches: | |
// typical for loop, iterator-based for loop, and generator-based where method | |
void main (){ |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am Abion47 on github. | |
* I am andrewackerman (https://keybase.io/andrewackerman) on keybase. | |
* I have a public key whose fingerprint is 1C8C 71EB 5321 1018 DCF2 5931 3C11 3BEF C49F EC9B | |
To claim this, I am signing this object: |
This file contains 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:bloc_lite/bloc_lite.dart'; | |
import 'package:bloc_lite_flutter/bloc_lite_flutter.dart'; | |
class ReactiveWidget extends StatefulWidget { | |
@override | |
State<StatefulWidget> createState() => ReactiveWidgetState(); | |
} | |
class ReactiveWidgetState extends State<ReactiveWidget> { |
This file contains 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:provider/provider.dart'; | |
class ReactiveWidget extends StatefulWidget { | |
@override | |
State<StatefulWidget> createState() => ReactiveWidgetState(); | |
} | |
class ReactiveWidgetState extends State<ReactiveWidget> { | |
@override |
This file contains 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
#include "interfaces/Map_Interface.hps" | |
#include "base/Inputhandler_Types.hps" | |
#include "helpers/helper_map.hps" | |
#include "helpers/helper_props.hps" | |
#include "helpers/helper_effects.hps" | |
#include "helpers/helper_audio.hps" | |
#include "helpers/helper_imgui.hps" | |
#include "helpers/helper_sequences.hps" | |
#include "helpers/helper_game.hps" |
NewerOlder