Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
remote

Promise Amadi Wizpna

👨‍💻
remote
View GitHub Profile
@Wizpna
Wizpna / main.dart
Created Jul 18, 2021
Photo Editing App in 10 minutes using Flutter and IMG.LY
View main.dart
void presentEditor(image) async {
await PESDK.openEditor(
image: image, configuration: createConfiguration());
}
Configuration createConfiguration() {
final flutterSticker = Sticker(
"example_sticker_logos_flutter", "Flutter", "assets/Flutter-logo.png");
final imglySticker = Sticker(
"example_sticker_logos_imgly", "img.ly", "assets/imgly-Logo.png",
@Wizpna
Wizpna / main.dart
Created Jul 18, 2021
Photo Editing App in 10 minutes using Flutter and IMG.LY
View main.dart
imgFromGallery() async {
final image = await ImagePicker().getImage(source: ImageSource.gallery);
if (image != null) {
setState(() {
presentEditor(image.path);
});
}
}
@Wizpna
Wizpna / main.dart
Created Jul 18, 2021
Photo Editing App in 10 minutes 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 Jul 11, 2021
A simple project demonstrating how to build a face filter app using Flutter and Deep AR
View main.dart
import 'package:rwa_deep_ar/rwa_deep_ar.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
@Wizpna
Wizpna / myhomepage.dart
Last active Dec 16, 2019
A simple flutter app that demonstrates how to build a GitHub app using Flutter and GraphQL
View myhomepage.dart
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.
@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 / home.dart
Created Sep 9, 2019
This project Demostracte how to build Whatsapp, Messenger and Instagram status stories using Flutter
View home.dart
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
final storyController = StoryController();
@override
void dispose() {
@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) {