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'; | |
void main() => runApp(MyApp()); | |
final kExpansionTileHeight = 114; | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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:html' as html; | |
import 'package:mime_type/mime_type.dart'; | |
import 'package:path/path.dart' as Path; | |
import 'package:image_picker_web/image_picker_web.dart'; | |
import 'package:firebase/firebase.dart' as fb; | |
import 'package:flutter/material.dart'; | |
html.File _cloudFile; | |
var _fileBytes; |
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:google_sign_in/google_sign_in.dart'; | |
import 'package:firebase_auth/firebase_auth.dart'; | |
final GoogleSignIn _googleAuth = GoogleSignIn(); | |
final FirebaseAuth _auth = FirebaseAuth.instance; | |
Future<dynamic> _signInWithGoogle({BuildContext ctx}) async { | |
final GoogleSignInAccount googleUser = await _googleAuth.signIn(); | |
if (googleUser == null) { | |
Scaffold.of(ctx).showSnackBar(SnackBar( |
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
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override |
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:luitsapp/Screens/splashScreen.dart'; | |
import 'package:luitsapp/services/hive/credentialsManager.dart'; | |
import 'package:tinycolor/tinycolor.dart'; | |
void main() async { | |
runApp(LUITSApp()); | |
} | |
class LUITSApp extends StatefulWidget { |
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'; | |
const _tabletBreakpoint = 720.0; | |
const _desktopBreakpoint = 1440.0; | |
const _minHeight = 400.0; | |
const _tabletSpacingVertical = 15.0; | |
const _tabletSpacingHorizontial = 10.0; | |
const _drawerWidth = 304.0; | |
class NavigationRail extends StatelessWidget { |
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'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class SimpleList extends StatefulWidget { | |
SimpleList({Key key}) : super(key: key); | |
@override |
NewerOlder