File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ import 'package:flutter/material.dart';
8
8
9
9
import 'package:flutter_svg/flutter_svg.dart' ;
10
10
11
- class SideBarWidger extends StatelessWidget {
11
+ class SideBarWidget extends StatelessWidget {
12
12
final Color ? color;
13
13
final double ? width;
14
14
final String ? appName;
15
15
16
- const SideBarWidger ({super .key, this .color, this .width, this .appName});
16
+ const SideBarWidget ({super .key, this .color, this .width, this .appName});
17
17
18
18
@override
19
19
Widget build (BuildContext context) {
@@ -49,7 +49,7 @@ class SideBarWidger extends StatelessWidget {
49
49
child: Text (
50
50
appName ?? '' ,
51
51
style: TextStyle (
52
- color: isDark ? Colors .white : FlarelineColors .darkTextBody ,
52
+ color: isDark ? Colors .white : FlarelineColors .darkBlackText ,
53
53
fontSize: 32 ),
54
54
))
55
55
],
Original file line number Diff line number Diff line change 1
1
library flareline_uikit;
2
+
2
3
import 'package:flareline_uikit/components/sidebar/side_bar.dart' ;
3
4
import 'package:flutter/material.dart' ;
4
5
@@ -8,6 +9,8 @@ import 'package:responsive_builder/responsive_builder.dart';
8
9
abstract class FlarelineLayoutWidget extends StatelessWidget {
9
10
const FlarelineLayoutWidget ({super .key});
10
11
12
+ String get appName => 'Flareline' ;
13
+
11
14
bool get showTitle => true ;
12
15
13
16
bool get isAlignCenter => false ;
@@ -49,7 +52,10 @@ abstract class FlarelineLayoutWidget extends StatelessWidget {
49
52
if (sizingInformation.deviceScreenType == DeviceScreenType .desktop) {
50
53
return Row (
51
54
children: [
52
- if (showSideBar) const SideBarWidger (),
55
+ if (showSideBar)
56
+ SideBarWidget (
57
+ appName: appName,
58
+ ),
53
59
Expanded (child: rightContentWidget (context))
54
60
],
55
61
);
@@ -58,7 +64,7 @@ abstract class FlarelineLayoutWidget extends StatelessWidget {
58
64
return rightContentWidget (context);
59
65
},
60
66
),
61
- drawer: const SideBarWidger (),
67
+ drawer: const SideBarWidget (),
62
68
);
63
69
}
64
70
You can’t perform that action at this time.
0 commit comments