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
{ | |
"name" : "Flutter", | |
"clipboardFormat" : { | |
"function" : "concat", | |
"y" : ")", | |
"x" : { | |
"x" : "const Color(0xFF", | |
"function" : "concat", | |
"y" : { | |
"x" : "hex[red]hex[green]hex[blue]", |
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 'package:flutter/material.dart'; | |
/// Below is the usage for this function, you'll only have to import this file | |
/// [radius] takes a double and will be the radius to the rounded corners of this modal | |
/// [color] will color the modal itself, the default being `Colors.white` | |
/// [builder] takes the content of the modal, if you're using [Column] | |
/// or a similar widget, remember to set `mainAxisSize: MainAxisSize.min` | |
/// so it will only take the needed space. |
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 the splash.dart into your main app and use like: | |
// ex: Splash(iconData:Icons.restaurant, label: 'MY APP',); | |
import 'package:flutter/material.dart'; | |
class Splash extends StatefulWidget { | |
final IconData iconData; | |
final String label; |