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 'dart:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:shared_preferences/shared_preferences.dart'; | |
import 'package:http/http.dart' as http; | |
import 'auth_utils.dart'; | |
class NetworkUtils { | |
static final String host = productionHost; | |
static final String productionHost = 'https://authflow.herokuapp.com'; | |
static final String developmentHost = 'http://192.168.31.110:3000'; |
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 'dart:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:shared_preferences/shared_preferences.dart'; | |
import 'package:http/http.dart' as http; | |
import 'auth_utils.dart'; | |
class NetworkUtils { | |
static final String host = productionHost; | |
static final String productionHost = 'https://authflow.herokuapp.com'; | |
static final String developmentHost = 'http://192.168.31.110:3000'; |
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 'dart:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:shared_preferences/shared_preferences.dart'; | |
import 'package:http/http.dart' as http; | |
import 'auth_utils.dart'; | |
class NetworkUtils { | |
static final String host = productionHost; | |
static final String productionHost = 'https://authflow.herokuapp.com'; | |
static final String developmentHost = 'http://192.168.31.110:3000'; |
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 'dart:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:shared_preferences/shared_preferences.dart'; | |
import 'package:http/http.dart' as http; | |
import 'auth_utils.dart'; | |
class NetworkUtils { | |
static final String host = productionHost; | |
static final String productionHost = 'https://authflow.herokuapp.com'; | |
static final String developmentHost = 'http://192.168.31.110:3000'; |
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 'dart:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:shared_preferences/shared_preferences.dart'; | |
import 'package:http/http.dart' as http; | |
import 'auth_utils.dart'; | |
class NetworkUtils { | |
static final String host = productionHost; | |
static final String productionHost = 'https://authflow.herokuapp.com'; | |
static final String developmentHost = 'http://192.168.31.110:3000'; |
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'; | |
import 'package:keeper/views/mock_data.dart'; | |
class LabelForm extends StatefulWidget { | |
static final String routeName = '/labelForm'; | |
@override | |
State<StatefulWidget> createState() => new LabelFormState(); | |
} |
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'; | |
import 'package:keeper/views/label_form.dart'; | |
import 'package:keeper/views/label_view.dart'; | |
const String _AccountName = 'Aravind Vemula'; | |
const String _AccountEmail = '[email protected]'; | |
const String _AccountAbbr = 'AV'; | |
class KeeperDrawer extends StatelessWidget { | |
final List<String> labels; |
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
Navigator.of(context).push( | |
new PageRouteBuilder( | |
pageBuilder: (BuildContext context, _, __) { | |
return new Notes(); | |
}, | |
transitionsBuilder: (_, Animation<double> animation, __, Widget child) { | |
return new FadeTransition( | |
opacity: animation, | |
child: child | |
); |
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
Navigator.of(context).push( | |
new PageRouteBuilder( | |
pageBuilder: (BuildContext context, _, __) { | |
return new Notes(); | |
}, | |
transitionsBuilder: (_, Animation<double> animation, __, Widget child) { | |
return new FadeTransition( | |
opacity: animation, | |
child: child | |
); |
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'; | |
const String _AccountName = 'Aravind Vemula'; | |
const String _AccountEmail = '[email protected]'; | |
const String _AccountAbbr = 'AV'; | |
void main() => runApp(new Keeper()); | |
class Keeper extends StatelessWidget { | |
@override |