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:ipomarket/helper/Style.dart'; | |
import 'package:ipomarket/ui/SplashScreen.dart'; | |
void main() => runApp(MyRootApp()); | |
class MyRootApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { |
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:async'; | |
import 'package:flutter/material.dart'; | |
class SplashScreen extends StatefulWidget { | |
final Color backgroundColor = Colors.white; | |
final TextStyle styleTextUnderTheLoader = TextStyle( | |
fontSize: 18.0, fontWeight: FontWeight.bold, color: Colors.black); | |
@override | |
_SplashScreenState createState() => _SplashScreenState(); |
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
android { | |
.. | |
lintOptions { | |
// set to true to turn off analysis progress reporting by lint | |
quiet true | |
// if true, stop the gradle build if errors are found | |
abortOnError false | |
// if true, only report errors | |
ignoreWarnings true | |
// if true, emit full/absolute paths to files with errors (true by default) |
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
android { | |
.. | |
applicationVariants.all { | |
def lintTask = tasks["lint${name.capitalize()}"] | |
assembleProvider.get().dependsOn.add(lintTask) | |
} | |
} |