skip to Main Content

How to make scrollable part of page in Flutter?

I can't make scrollable the part highlighted in red And this is my code: class Home extends StatelessWidget { const Home({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( body: Stack( children: [ _headerWidget(), _actionWidget(), _backgroundWidget(), _bottomBar()…

VIEW QUESTION

Flutter double paint value calculation errors

Getting this error: The setter 'value=' was called on null. Receiver: null Tried calling: value=3000.0 final WallheightController = TextEditingController(); final WalllengthController = TextEditingController(); var height; var length; var area; RxDouble paint = 0.2.obs; RxDouble result=0.0 .obs; calculatepaint() { if (WallheightController.text.isNotEmpty…

VIEW QUESTION

Flutter dropdown with future builder

This is my data model class RoleModel { int? id; String? role; RoleModel({this.id, this.role}); RoleModel.fromJson(Map<String, dynamic> json) { id = json['id']; role = json['role']; } Map<String, dynamic> toJson() { final Map<String, dynamic> data = <String, dynamic>{}; data['id'] = id; data['role']…

VIEW QUESTION
Back To Top
Search