# The following adds the provider package to your application. below Cupertino icons
cupertino_icons: ^0.1.3
provider:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
from datetime import datetime | |
from pathlib import Path | |
import mimetypes | |
import urllib.parse | |
from flask import send_file | |
class GetFiles: | |
def __init__(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... other imports | |
import { ContextStateComponent } from './react-typescript-context-api.tsx'; | |
// ... | |
// Wrap the whole app with ContextStateComponent to give all of its data to the whole app | |
function App() { | |
return ( | |
<ContextStateComponent> | |
<DashBoardBody > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', |