Skip to content

Instantly share code, notes, and snippets.

💭
Working Mode is on..

Rushabh Shah rushabhshah065

💭
Working Mode is on..
Block or report user

Report or block rushabhshah065

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rushabhshah065
rushabhshah065 / main.dart
Created Mar 29, 2020
Flutter Splash Screen Customization main.dart file.
View main.dart
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) {
@rushabhshah065
rushabhshah065 / SplashScreen.dart
Created Mar 29, 2020
Flutter Splash Screen Widget for customize splash screen.
View SplashScreen.dart
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();
@rushabhshah065
rushabhshah065 / build.gradle
Created Jun 12, 2019
All possible lint combination.
View build.gradle
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)
@rushabhshah065
rushabhshah065 / build.gradle
Last active Jun 12, 2019
Add task for forcefully apply lint before build.
View build.gradle
android {
..
applicationVariants.all {
def lintTask = tasks["lint${name.capitalize()}"]
assembleProvider.get().dependsOn.add(lintTask)
}
}
You can’t perform that action at this time.