-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
devexp-warningIssues with the analyzer's Warning codesIssues with the analyzer's Warning codeslegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
- Dart SDK Version (
dart --version)
Dart VM version: 2.3.0-dev.0.5.flutter-a1668566e5 (Tue Apr 30 20:35:41 2019 +0200) on "windows_x64" - Whether you are using Windows, MacOSX, or Linux (if applicable)
Windows 10 x64 - Whether you are using Chrome, Safari, Firefox, Edge (if applicable)
Flutter
class BasePage extends StatelessWidget {
final String title;
BasePage({@required this.title});
...
}
class OpportunitiesPage extends BasePage {
// default (no) constructor
...
}
...
OpportunitiesPage();
This seems to compile just fine to me. When debugger stops in BasePage() due to a breakpoint I can see title be null.
Is this the expected behavior?
pq, dotdoom and srawlins
Metadata
Metadata
Assignees
Labels
devexp-warningIssues with the analyzer's Warning codesIssues with the analyzer's Warning codeslegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug