Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
remote

Promise Amadi Wizpna

👨‍💻
remote
View GitHub Profile
@Wizpna
Wizpna / main.dart
Last active Sep 23, 2021
How I Built a Photo Editing App with 80 lines of code using Flutter and IMG.LY
View main.dart
void imglyEditor(image) async {
await PESDK.openEditor(image: image);
}
@Wizpna
Wizpna / main.dart
Last active Sep 16, 2021
How I Built a Photo Editing App with 80 lines of code using Flutter and IMG.LY
View main.dart
imgFromGallery() async {
final image = await ImagePicker().pickImage(source: ImageSource.gallery);
if (image != null) {
setState(() {
imglyEditor(image.path);
});
}
}
@Wizpna
Wizpna / main.dart
Last active Aug 30, 2021
How I Built a Photo Editing App with 80 lines of code using Flutter and IMG.LY
View main.dart
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 Apr 26, 2021
A simple project to demonstrate how to store data to Firebase without adding google-services.json file
View service.dart
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 Mar 31, 2021
A simple project to demonstrate how to store data to Firebase without adding google-services.json file
View main.dart
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 Feb 22, 2020
A simple project demonstrating how to build an online radio app using Flutter
View main.dart
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 Feb 16, 2020
This project Demonstrate how to build Whatsapp, Messenger and Instagram status stories using Flutter
View main.dart
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 Jun 22, 2022
Demostrating how to build a responsive users interface with flutter
View main.dart
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 Aug 11, 2019
9 Easiest Steps to Build Photo Diary App Using Flutter and Cloudinary
View fullScreen.dart
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 Aug 11, 2019
9 Easiest Steps to Build Photo Diary App Using Flutter and Cloudinary
View data.dart
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) {