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
Last active September 23, 2021 23:38
How I Built a Photo Editing App with 80 lines of code using Flutter and IMG.LY
void imglyEditor(image) async {
await PESDK.openEditor(image: image);
}
@Wizpna
Wizpna / main.dart
Last active September 16, 2021 15:15
How I Built a Photo Editing App with 80 lines of code using Flutter and IMG.LY
imgFromGallery() async {
final image = await ImagePicker().pickImage(source: ImageSource.gallery);
if (image != null) {
setState(() {
imglyEditor(image.path);
});
}
}
@Wizpna
Wizpna / main.dart
Last active August 30, 2021 07:47
How I Built a Photo Editing App with 80 lines of code using Flutter and IMG.LY
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import 'package:imgly_sdk/imgly_sdk.dart';
import 'package:photo_editor_sdk/photo_editor_sdk.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@Wizpna
Wizpna / service.dart
Last active April 26, 2021 07:54
A simple project to demonstrate how to store data to Firebase without adding google-services.json file
import 'dart:convert';
import 'package:http/http.dart' as http;
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class Services {
static showLoadingDialog(BuildContext context) {
showDialog(
context: context,
@Wizpna
Wizpna / main.dart
Created March 31, 2021 06:31
A simple project to demonstrate how to store data to Firebase without adding google-services.json file
import 'package:firebase_without_json_file/service.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
@Wizpna
Wizpna / main.dart
Last active February 22, 2020 23:37
A simple project demonstrating how to build an online radio app using Flutter
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter_radio/flutter_radio.dart';
void main() => runApp(new MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => new _MyAppState();
}
@Wizpna
Wizpna / main.dart
Last active February 16, 2020 12:23
This project Demonstrate how to build Whatsapp, Messenger and Instagram status stories using Flutter
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:story_view/story_view.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
@Wizpna
Wizpna / main.dart
Last active June 22, 2022 11:15
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 / 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 / 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) {