This file contains 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 Promise from 'promise-polyfill'; | |
window.Promise = window.Promise || Promise; | |
import axios from 'axios'; | |
import qs from 'qs'; | |
const DJANGO_DEFAULTS = { | |
xsrfCookieName: 'csrftoken', | |
xsrfHeaderName: 'X-CSRFToken', | |
headers: { |
This file contains 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 'dart:math'; | |
import 'package:flutter/material.dart'; | |
class MyFailureApp extends StatefulWidget{ | |
@override | |
State<MyFailureApp> createState() => new MyFailureAppState(); | |
} |
This file contains 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'; | |
import 'package:provider/provider.dart'; | |
import 'counter.dart'; | |
void main() => runApp(MyApp()); | |
class MyModel extends ChangeNotifier { | |
bool isDrawerOpened = false; |