DPLYR-dev / SplashScreenFlutterPackage

A small splashscreen used as intro for flutter applications easily with a lot of customizations ❤️🥳
MIT License
294 stars 123 forks source link

Context: This is the inherited member. void get initState #25

Closed fahjan closed 4 years ago

fahjan commented 5 years ago

Compiler message: file:///D:/androidstudiolib/flutter/.pub-cache/hosted/pub.dartlang.org/splashscreen-1.2.0/lib/splashscreen.dart:47:8: Error: Can't declare a member that conflicts with an inherited one. void initState() { ^^^^^^^^^ file:///D:/androidstudiolib/flutter/packages/flutter/lib/src/widgets/framework.dart:1007:12: Context: This is the inherited member. void get initState { ^^^^^^^^^ file:///D:/androidstudiolib/flutter/.pub-cache/hosted/pub.dartlang.org/splashscreen-1.2.0/lib/splashscreen.dart:48:11: Error: This expression has type 'void' and can't be used. super.initState(); ^ file:///D:/androidstudiolib/flutter/.pub-cache/hosted/pub.dartlang.org/splashscreen-1.2.0/lib/splashscreen.dart:48:20: Error: The method 'call' isn't defined for the class 'void'. Try correcting the name to the name of an existing method, or defining a method named 'call'. super.initState();

image

ahmedmgh67 commented 5 years ago

how to reproduce the issue?

fahjan commented 5 years ago

reinstall flutter solve this issue :) thank you ...