Last active
January 13, 2020 15:04
-
-
Save av/33d17a9d45cc397d11759e33e2ab4d64 to your computer and use it in GitHub Desktop.
Flutter: neu
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
// In NeumorphicContainer | |
// ... | |
// New property | |
final double bevel; | |
// Also adding initializer to a constructor | |
const NeumorphicContainer({ | |
Key key, | |
this.child, | |
this.bevel = 2.0, | |
}) : super(key: key); | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment