@@ -5,13 +5,13 @@ import 'package:revitool/l10n/generated/localizations.dart';
55
66// const cardBorderColorForDark = Color.fromARGB(255, 29, 29, 29);
77// const cardBorderColorForLight = Color.fromARGB(255, 229, 229, 229);
8- const cardBorderRadius = BorderRadius .all (Radius .circular (5.0 ));
9- const cardDescStyleForDark = TextStyle (
8+ const _cardBorderRadius = BorderRadius .all (Radius .circular (5.0 ));
9+ const _cardDescStyleForDark = TextStyle (
1010 fontSize: 11 ,
1111 color: Color .fromARGB (255 , 200 , 200 , 200 ),
1212 overflow: TextOverflow .fade);
1313
14- const cardDescStyleForLight = TextStyle (
14+ const _cardDescStyleForLight = TextStyle (
1515 fontSize: 11 ,
1616 color: Color .fromARGB (255 , 117 , 117 , 117 ),
1717 overflow: TextOverflow .fade);
@@ -42,7 +42,7 @@ class CardHighlightSwitch extends StatelessWidget {
4242 return Column (
4343 children: [
4444 Card (
45- borderRadius: cardBorderRadius ,
45+ borderRadius: _cardBorderRadius ,
4646 child: SizedBox (
4747 // height: 44,
4848 width: double .infinity,
@@ -66,8 +66,8 @@ class CardHighlightSwitch extends StatelessWidget {
6666 ? Text (
6767 description ?? "" ,
6868 style: FluentTheme .of (context).brightness.isDark
69- ? cardDescStyleForDark
70- : cardDescStyleForLight ,
69+ ? _cardDescStyleForDark
70+ : _cardDescStyleForLight ,
7171 )
7272 : const SizedBox (),
7373 ),
@@ -188,7 +188,7 @@ class CardHighlight extends StatelessWidget {
188188 children: [
189189 Card (
190190 backgroundColor: backgroundColor,
191- borderRadius: cardBorderRadius ,
191+ borderRadius: _cardBorderRadius ,
192192 borderColor: borderColor,
193193 child: SizedBox (
194194 // height: 44,
@@ -224,8 +224,8 @@ class CardHighlight extends StatelessWidget {
224224 child: description != null
225225 ? Text (description ?? "" ,
226226 style: FluentTheme .of (context).brightness.isDark
227- ? cardDescStyleForDark
228- : cardDescStyleForLight ,
227+ ? _cardDescStyleForDark
228+ : _cardDescStyleForLight ,
229229 overflow: TextOverflow .ellipsis)
230230 : const SizedBox (),
231231 ),
0 commit comments