-
-
Save mmanflori/d4f8ed294e5ed288ffe5e8e56bf63b20 to your computer and use it in GitHub Desktop.
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'; | |
boxDeco(double aA,double bB){ | |
dynamic boxDeco = new BoxDecoration( | |
border: new Border.all( | |
color:Colors.black, | |
width: 2.0, | |
style: BorderStyle.solid, | |
), | |
color: Colors.blue, | |
borderRadius: BorderRadius.all( | |
new Radius.circular( | |
10.0 | |
) | |
), | |
boxShadow: [new BoxShadow( | |
color: Colors.grey, | |
offset: new Offset(aA, bB), | |
blurRadius: 5.0, | |
)], | |
); | |
return boxDeco; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment