Skip to content

Instantly share code, notes, and snippets.

View rexsteroxy's full-sized avatar
🎯
Focused

AMADI AUSTIN CHUKWUEMEKA rexsteroxy

🎯
Focused
View GitHub Profile
@rexsteroxy
rexsteroxy / main.dart
Created March 21, 2020 13:12
A well detailed implementation and usage of named routes in flutter using a color app.
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
title: 'Color App Demo',
initialRoute: '/',
routes: {
// When navigating to the "/" route, build the RedScreen widget.
'/': (context) => RedScreen(),
@rexsteroxy
rexsteroxy / main.dart
Created March 16, 2020 23:32
Boolean Game is the best way to learn and practice boolean operations using questions and answers.
import 'package:flutter/material.dart';
void main() => runApp(BooleanGame());
class BooleanGame extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.blueAccent,