skip to Main Content

Using Single singlechildscrollview while using scrolllable listview.builder (flutter)

This is my whole code: import 'package:flutter/material.dart'; import 'package:testproject/components/event_tile.dart'; import 'package:testproject/components/mybutton.dart'; class MenuPage extends StatelessWidget { const MenuPage({super.key}); @override Widget build(BuildContext context) { List EventList = [ EventTile( name: "Mitama Matsuri festivial", price: "€ 49", imagePath: "lib/images/japan7.png", rating: "5", details:…

VIEW QUESTION

How can I see last widget in Column which is wrapped in SingleChildScrollView even when keyboard is open in flutter?

Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ const Text( 'Discount (%) :', style: TextStyle(fontSize: 14), ), Container( width: 40, height: 30, decoration: BoxDecoration( color: Colors.grey.shade200, border: const Border.fromBorderSide(BorderSide.none), borderRadius: BorderRadius.circular(10)), child: Center( child: TextField( onChanged: (text) { getDiscountedAmount(text); }, cursorHeight: 18, keyboardType:…

VIEW QUESTION

Flutter – SingleChildScrollView does not scroll down, even though there are items beneath what is shown

This is the full code. import 'dart:async'; import 'dart:convert'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; Future<List<Event>> fetchEvents(http.Client client) async { final response = await http.get(Uri.parse('https://my-json-server.typicode.com/Evgen1987RUS/test-json/events/')); // TODO: тестовый джей сон поменять на нормальный return compute(parseEvents, response.body); } List<Event>…

VIEW QUESTION
Back To Top
Search