Skip to content

Commit

Permalink
chore: fixed wrong merge conflict resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
rawi-coding committed Nov 28, 2024
1 parent b5e9c8e commit c7c091f
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class RouteCellBody extends StatelessWidget {
this.isCurrentPosition = false,
this.isRouteStart = false,
this.isRouteEnd = false,
this.backgroundColor,
});

final double chevronHeight;
Expand All @@ -33,8 +32,6 @@ class RouteCellBody extends StatelessWidget {
final bool isRouteStart;
final bool isRouteEnd;

final Color? backgroundColor;

@override
Widget build(BuildContext context) {
return LayoutBuilder(
Expand All @@ -44,7 +41,6 @@ class RouteCellBody extends StatelessWidget {
clipBehavior: Clip.none,
alignment: Alignment.center,
children: [
if (backgroundColor != null) _background(),
_routeLine(context, height),
if (isCurrentPosition) _chevron(context),
if (isStop) _circle(context),
Expand All @@ -54,18 +50,6 @@ class RouteCellBody extends StatelessWidget {
);
}

Widget _background() {
return Positioned(
top: -sbbDefaultSpacing,
bottom: -sbbDefaultSpacing,
right: 0,
left: 0,
child: Container(
color: backgroundColor,
),
);
}

Positioned _routeLine(BuildContext context, double height) {
final isDarkTheme = SBBBaseStyle.of(context).brightness == Brightness.dark;
final lineColor = isDarkTheme ? SBBColors.white : SBBColors.black;
Expand Down

0 comments on commit c7c091f

Please sign in to comment.