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
// TURTLE - TEKI | |
// (°-°) _______ | |
// \ / - - - \_ | |
// \_ ___ ___> | |
// \__) \__) |
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
extension StringExtension on String { | |
String capitalize() { | |
return "${this[0].toUpperCase()}${this.substring(1)}"; | |
} | |
} |
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
TextStyle sample = const TextStyle(color: Colors.red); | |
TextStyle sample = sample.copyWith(color: Colors.blue); |