atsign-foundation / at_widgets

Flutter widgets which aid in building applications using Atsign's technology
https://docs.atsign.com
BSD 3-Clause "New" or "Revised" License
52 stars 33 forks source link

Compile error for at_onboarding_flutter #782

Closed ralfeus closed 6 months ago

ralfeus commented 6 months ago

Which at_widget package you find issue with?

at_onboarding_flutter

On what platforms did you experience the issue?

Android

What version are you using?

at_onboarding_flutter: 6.1.3

What happened?

After at_onboarding_flutter has been updated to version 6.1.3 I'm getting a compile error:

: Error: The argument type 'void Function()' can't be assigned to the parameter type 'bool Function()?'.
at_onboarding_home_screen.dart:142
      onSkip: _endTutorial,
              ^
: Error: The argument type 'void Function()' can't be assigned to the parameter type 'bool Function()?'.
at_onboarding_generate_screen.dart:109
      onSkip: _endTutorial,
              ^

Before the update I ran on version 6.0.3 and had to issue

Steps to reproduce

1. Install at_onboarding_flutter 6.1.3
2. Add `import 'package:at_onboarding_flutter/at_onboarding_flutter.dart';`
3. Build app

Additional info

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

No response

ralfeus commented 6 months ago

Version 6.1.5 has it fixed