Remove deprectated api ignoreSemantics, according to the docs its now redundant

This commit is contained in:
Shawn 2023-08-29 11:28:49 -06:00
parent d369891d1e
commit b3e57867dd
8 changed files with 5 additions and 13 deletions

View File

@ -28,7 +28,6 @@ class _BottomTextContent extends StatelessWidget {
Column( Column(
children: [ children: [
IgnorePointer( IgnorePointer(
ignoringSemantics: false,
child: Semantics( child: Semantics(
button: true, button: true,
onIncrease: () => state._handleArtifactTap(_currentPage + 1), onIncrease: () => state._handleArtifactTap(_currentPage + 1),

View File

@ -263,7 +263,6 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
/// Title Content /// Title Content
LightText( LightText(
child: IgnorePointer( child: IgnorePointer(
ignoringSemantics: false,
child: Transform.translate( child: Transform.translate(
offset: Offset(0, 30), offset: Offset(0, 30),
child: Column( child: Column(

View File

@ -108,7 +108,6 @@ class _IntroScreenState extends State<IntroScreen> {
), ),
IgnorePointer( IgnorePointer(
ignoringSemantics: false,
child: Column(children: [ child: Column(children: [
Spacer(), Spacer(),

View File

@ -56,7 +56,6 @@ class _EventMarkersState extends State<_EventMarkers> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return IgnorePointer( return IgnorePointer(
ignoringSemantics: false,
child: LayoutBuilder(builder: (_, constraints) { child: LayoutBuilder(builder: (_, constraints) {
/// Figure out which event is "selected" /// Figure out which event is "selected"
_updateSelectedEvent(constraints.maxHeight); _updateSelectedEvent(constraints.maxHeight);

View File

@ -36,7 +36,6 @@ class _EventPopupsState extends State<_EventPopups> {
return TopCenter( return TopCenter(
child: ClipRect( child: ClipRect(
child: IgnorePointer( child: IgnorePointer(
ignoringSemantics: false,
child: AnimatedSwitcher( child: AnimatedSwitcher(
duration: $styles.times.fast, duration: $styles.times.fast,
child: evt == null child: evt == null

View File

@ -70,7 +70,6 @@ class _ScalingViewportState extends State<_ScrollingViewport> {
// Dashed line with a year that changes as we scroll // Dashed line with a year that changes as we scroll
IgnorePointer( IgnorePointer(
ignoringSemantics: false,
child: AnimatedBuilder( child: AnimatedBuilder(
animation: controller.scroller, animation: controller.scroller,
builder: (_, __) { builder: (_, __) {

View File

@ -21,7 +21,6 @@ class TimelineSection extends StatelessWidget {
StringUtils.formatYr(data.endYr), StringUtils.formatYr(data.endYr),
)}', )}',
child: IgnorePointer( child: IgnorePointer(
ignoringSemantics: false,
child: Container( child: Container(
alignment: Alignment(0, -1 + fraction * 2), alignment: Alignment(0, -1 + fraction * 2),
padding: EdgeInsets.all($styles.insets.xs), padding: EdgeInsets.all($styles.insets.xs),

View File

@ -14,7 +14,6 @@ class _YearMarkers extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return IgnorePointer( return IgnorePointer(
ignoringSemantics: false,
child: LayoutBuilder(builder: (_, constraints) { child: LayoutBuilder(builder: (_, constraints) {
int interval = 100; int interval = 100;
if (constraints.maxHeight < 800) { if (constraints.maxHeight < 800) {