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:async'; | |
import 'dart:io' as Io; | |
import 'package:image/image.dart'; | |
import 'package:flutter_cache_manager/flutter_cache_manager.dart'; | |
import 'package:path_provider/path_provider.dart'; | |
class SaveFile { | |
Future<String> get _localPath async { | |
final directory = await getApplicationDocumentsDirectory(); |
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
class SilverAppBarWithTabBarScreen extends StatefulWidget { | |
@override | |
_SilverAppBarWithTabBarState createState() => _SilverAppBarWithTabBarState(); | |
} | |
class _SilverAppBarWithTabBarState extends State<SilverAppBarWithTabBarScreen> | |
with SingleTickerProviderStateMixin { | |
TabController controller; | |
final items = List<String>.generate(100, (i) => "Item $i"); |
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
class GradientText extends StatelessWidget { | |
final Shader linearGradient = LinearGradient( | |
colors: <Color>[Color(0xffDA44bb), Color(0xff8921aa)], | |
).createShader(Rect.fromLTWH(0.0, 0.0, 200.0, 70.0)); | |
@override | |
Widget build(BuildContext context) { | |
return Center(child: Text( |
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
class Feed extends StatefulWidget { | |
Feed({this.firestore}); | |
final Firestore firestore; | |
@override | |
_FeedState createState() => _FeedState(); | |
} | |
class _FeedState extends State<Feed> { |
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
class PhoneWidget extends StatefulWidget { | |
@override | |
_PhoneWidgetState createState() => _PhoneWidgetState(); | |
} | |
class _PhoneWidgetState extends State<PhoneWidget> { | |
String _selectedCountryCode; | |
List<String> _countryCodes = ['+91', '+23']; |
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
class EventAddParticipantsUI extends StatefulWidget { | |
final registration_event.ResponseObject participant; | |
EventAddParticipantsUI(this.participant); | |
@override | |
EventAddParticipantsUIState createState() => | |
new EventAddParticipantsUIState(); |
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
{ | |
"responseCode": 1085, | |
"message": "Question details found.", | |
"responseObject": [{ | |
"isMandatory": true, | |
"qnMap": { | |
"question": "Which of our Quartz Line interests you?", | |
"qnPickLists": [{ | |
"id": 70849, | |
"answerChoice": "Hanstone", |
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:eventurbo/utils/fonts.dart'; | |
import 'package:eventurbo/utils/images.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:qr_reader/qr_reader.dart'; | |
class ParticipantCheckInUI extends StatefulWidget { | |
@override | |
_ParticipantCheckInUIState createState() => _ParticipantCheckInUIState(); | |
} |
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'; | |
class CustomBottom extends StatefulWidget { | |
@override | |
AppState createState() => AppState(); | |
} | |
class AppState extends State<CustomBottom> with SingleTickerProviderStateMixin { | |
TabController _controller; |
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'; | |
class BottomSheetDemo extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( | |
title: 'Flutter Demo', | |
theme: new ThemeData( | |
primarySwatch: Colors.blue, | |
), |