From 5712e20f19d79608bb10f513d7f9c3403bc29e7f Mon Sep 17 00:00:00 2001 From: tzw Date: Sat, 11 Sep 2021 11:30:44 +0630 Subject: [PATCH] merge --- lib/pages/widgets/my_data_table.dart | 31 ---------------------------- 1 file changed, 31 deletions(-) diff --git a/lib/pages/widgets/my_data_table.dart b/lib/pages/widgets/my_data_table.dart index cb67101..f198e21 100644 --- a/lib/pages/widgets/my_data_table.dart +++ b/lib/pages/widgets/my_data_table.dart @@ -83,11 +83,7 @@ class MyDataRow { /// /// The [cells] argument must not be null. MyDataRow.byIndex({ -<<<<<<< HEAD - int index = 0, -======= int? index, ->>>>>>> upstream/master this.selected = false, this.onSelectChanged, required this.cells, @@ -626,10 +622,6 @@ class MyDataTable extends StatelessWidget { final List tableColumns = (columns.length + (showCheckboxColumn ? 1 : 0)) as List; -<<<<<<< HEAD -======= - ->>>>>>> upstream/master final List tableRows = List.generate( rows.length + 1, // the +1 is for the header row (int index) { @@ -761,19 +753,11 @@ class TableRowInkWell extends InkResponse { /// Creates an ink well for a table row. const TableRowInkWell({ Key? key, -<<<<<<< HEAD - Widget child, - GestureTapCallback onTap, - GestureTapCallback onDoubleTap, - GestureLongPressCallback onLongPress, - ValueChanged onHighlightChanged, -======= Widget? child, GestureTapCallback? onTap, GestureTapCallback? onDoubleTap, GestureLongPressCallback? onLongPress, ValueChanged? onHighlightChanged, ->>>>>>> upstream/master }) : super( key: key, child: child, @@ -839,16 +823,6 @@ class _SortArrow extends StatefulWidget { } class _SortArrowState extends State<_SortArrow> with TickerProviderStateMixin { -<<<<<<< HEAD - late AnimationController _opacityController; - late Animation _opacityAnimation; - - late AnimationController _orientationController; - late Animation _orientationAnimation; - double _orientationOffset = 0.0; - - late bool _down; -======= AnimationController? _opacityController; Animation? _opacityAnimation; @@ -857,7 +831,6 @@ class _SortArrowState extends State<_SortArrow> with TickerProviderStateMixin { double _orientationOffset = 0.0; bool? _down; ->>>>>>> upstream/master static final Animatable _turnTween = Tween(begin: 0.0, end: math.pi) @@ -904,11 +877,7 @@ class _SortArrowState extends State<_SortArrow> with TickerProviderStateMixin { void didUpdateWidget(_SortArrow oldWidget) { super.didUpdateWidget(oldWidget); bool skipArrow = false; -<<<<<<< HEAD - final bool newDown = widget.down; -======= final bool newDown = widget.down ?? _down!; ->>>>>>> upstream/master if (oldWidget.visible != widget.visible) { if (widget.visible! && (_opacityController!.status == AnimationStatus.dismissed)) {