skip to Main Content

Flutter – I am not even using FlatButton or RaisedButton but i am getting these errors. I have searched my whole project. Also can't understand below errors too

/C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_dialog_action.dart:171:14: Error: The method 'FlatButton' isn't defined for the class 'PlatformDialogAction'. 'PlatformDialogAction' is from 'package:flutter_platform_widgets/src/platform_dialog_action.dart' ('/C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_dialog_action.dart'). Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'. return FlatButton( ^^^^^^^^^^ /C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart:269:14: Error: The method…

VIEW QUESTION

Flutter – whole screen not scrollable

How to make whole screen scrolling instead of just ListView scrollable? return CustomScrollView( slivers: [ SliverAppBar( actions: [ .... ], ), SliverFillRemaining( child: Column( children: [ _showWidget(context, state.tenancy), TabBar( unselectedLabelColor: Colors.black, labelColor: Colors.red, tabs: const [ Tab( icon: Icon(Icons.people), ),…

VIEW QUESTION
Back To Top
Search