refactor: format files with dartFmt
This commit is contained in:
@@ -5,7 +5,7 @@ import 'package:flutter/material.dart';
|
||||
extension ColorX on Color {
|
||||
String toHexColorString() {
|
||||
String hex = value.toRadixString(16).replaceAll('ff', '');
|
||||
if(hex.isEmpty) hex = '000000';
|
||||
if (hex.isEmpty) hex = '000000';
|
||||
return '#$hex';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user