Skip to content

Instantly share code, notes, and snippets.

View Wizpna's full-sized avatar
👨‍💻
remote

Promise Amadi Wizpna

👨‍💻
remote
View GitHub Profile
@Wizpna
Wizpna / main.dart
Created July 25, 2019 13:29
Flutter Web: How to Build a Google Search
import 'package:flutter_web/material.dart';
import 'footerOptions.dart';
import 'googleMenuOptions.dart';
import 'googleSearch.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@Wizpna
Wizpna / googleMenuOptions.dart
Created July 25, 2019 13:31
Flutter Web: How to Build a Google Search
import 'package:flutter_web/material.dart';
class GoogleMenuOptions extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
child: Padding(
padding: const EdgeInsets.only(top: 8.0, right: 8.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
@Wizpna
Wizpna / googleSearch.dart
Created July 25, 2019 13:33
Flutter Web: How to Build a Google Search
import 'package:flutter_web/material.dart';
class GoogleSearch extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
child: Container(
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
@Wizpna
Wizpna / footerOptions.dart
Created July 25, 2019 13:34
Flutter Web: How to Build a Google Search
import 'package:flutter_web/material.dart';
class FooterOptions extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
border: Border.all(color: Colors.black26, width: 0.1),
color: Colors.black.withOpacity(0.05),
),
@Wizpna
Wizpna / data.dart
Last active August 11, 2019 22:15
9 Easiest Steps to Build Photo Diary App Using Flutter and Cloudinary
class Data {
List<Resources> resources;
String nextCursor;
Data({this.resources, this.nextCursor});
Data.fromJson(Map<String, dynamic> json) {
if (json['resources'] != null) {
resources = new List<Resources>();
json['resources'].forEach((v) {
@Wizpna
Wizpna / fullScreen.dart
Last active August 11, 2019 22:16
9 Easiest Steps to Build Photo Diary App Using Flutter and Cloudinary
import 'package:cloudinary/data.dart';
import 'package:flutter/material.dart';
class FullScreen extends StatelessWidget {
final Resources resources;
FullScreen(this.resources);
@override
Widget build(BuildContext context) {
@Wizpna
Wizpna / main.dart
Created August 25, 2019 14:12
Demostrating how to build a responsive users interface with flutter
import 'package:flutter/material.dart';
import 'package:responsive_grid/responsive_grid.dart';
void main() => runApp(MaterialApp(
title: 'Responsive Layout',
home: HomePage(),
debugShowCheckedModeBanner: false,
),
);
@Wizpna
Wizpna / main.dart
Created August 25, 2019 10:08
Demostrating how to build a playment app using flutter and flutterwave
import 'package:flutter/material.dart';
import 'package:flutter_rave/flutter_rave.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
@Wizpna
Wizpna / home.dart
Created September 9, 2019 16:19
This project Demostracte how to build Whatsapp, Messenger and Instagram status stories using Flutter
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
final storyController = StoryController();
@override
void dispose() {
@Wizpna
Wizpna / myhomepage.dart
Last active December 16, 2019 01:53
A simple flutter app that demonstrates how to build a GitHub app using Flutter and GraphQL
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
//Please note that Dart uses a notation with three quotes to make the queries.