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
| // Automatic FlutterFlow imports | |
| import '/flutter_flow/flutter_flow_theme.dart'; | |
| import '/flutter_flow/flutter_flow_util.dart'; | |
| import '/custom_code/widgets/index.dart'; // Imports other custom widgets | |
| import '/flutter_flow/custom_functions.dart'; // Imports custom functions | |
| import 'package:flutter/material.dart'; | |
| // Begin custom widget code | |
| // DO NOT REMOVE OR MODIFY THE CODE ABOVE! | |
| class CustomContainer extends StatefulWidget { |
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 MyDropDownWidget extends StatefulWidget { | |
| const MyDropDownWidget({Key? key}) : super(key: key); | |
| @override | |
| _MyDropDownWidgetState createState() => _MyDropDownWidgetState(); | |
| } | |
| class _MyDropDownWidgetState extends State<MyDropDownWidget> { | |
| List<String> listOfValue = ['1', '2', '3', '4', '5']; | |
| String? _selectedValue; |
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
| // Automatic FlutterFlow imports | |
| import '/backend/backend.dart'; | |
| import '/flutter_flow/flutter_flow_theme.dart'; | |
| import '/flutter_flow/flutter_flow_util.dart'; | |
| import '/custom_code/widgets/index.dart'; // Imports other custom widgets | |
| import '/flutter_flow/custom_functions.dart'; // Imports custom functions | |
| import 'package:flutter/material.dart'; | |
| // Begin custom widget code | |
| // DO NOT REMOVE OR MODIFY THE CODE ABOVE! |
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:package_info_plus/package_info_plus.dart'; | |
| class PackageInfoDemo extends StatefulWidget { | |
| PackageInfoDemo({ | |
| Key key, | |
| this.width, | |
| this.height, | |
| }) : super(key: key); | |
| final double width; |
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:fire_table_demo/home_page/landingpage.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:splash_screen_view/SplashScreenView.dart'; | |
| class SplashScreenDemo extends StatefulWidget { | |
| SplashScreenDemo({Key key}) : super(key: key); | |
| @override | |
| _SplashScreenDemoState createState() => _SplashScreenDemoState(); | |
| } |
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
| // This is half written code. This code snippet only to show how to read json file from asset location. | |
| //import line | |
| import 'package:flutter/services.dart'; | |
| import 'package:flutter/material.dart'; | |
| class QApp extends StatefulWidget { | |
| QApp({Key key}) : super(key: key); | |
| @override |
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:http/http.dart' as http; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| // This widget is the root of your application. |
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 CustomShimmer extends StatelessWidget { | |
| const CustomShimmer({Key? key}) : super(key: key); | |
| @override | |
| Widget build(BuildContext context) { | |
| return Container( | |
| child: Shimmer.fromColors( | |
| baseColor: Colors.grey.shade300, | |
| highlightColor: Colors.blueAccent.shade400, | |
| child: Shimmer.fromColors( |