Now all setup is done to work with Pushnotification
firebase_core: ^1.12.0
firebase_messaging: ^11.2.6
flutter_local_notifications: ^9.2.0
| import 'package:flutter/material.dart'; | |
| import 'package:webview_flutter/webview_flutter.dart'; | |
| class HomePage extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| double height = MediaQuery.of(context).size.height; | |
| double width = MediaQuery.of(context).size.height; | |
| return SafeArea( |
| import 'package:flutter/material.dart'; | |
| import 'package:webview_flutter/webview_flutter.dart'; | |
| class HomePage extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| double height = MediaQuery.of(context).size.height; | |
| double width = MediaQuery.of(context).size.height; | |
| return SafeArea( |
| from flask import Flask, render_template, request, send_from_directory, jsonify | |
| from flask_restful import Resource, Api, reqparse, abort | |
| import os | |
| from flask.helpers import send_file | |
| app = Flask(__name__) | |
| api = Api(app) | |
| @app.route('/', methods=["GET", "POST"]) | |
| def index(): |