This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Bar { | |
| final int Function() foo; | |
| Bar() : foo = () => 1; | |
| } | |
| class Bar2 { | |
| final int Function() foo = () => 1; | |
| Bar2(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/gestures.dart'; | |
| main() { | |
| runApp( | |
| MaterialApp( | |
| // ignore this line if running on mobile | |
| scrollBehavior: MyCustomScrollBehavior(), | |
| debugShowCheckedModeBanner: false, |