Flutter Rounded Corners in Sliver App Bar

In Flutter you can have custom shape in AppBar widget with shape property, but this property is missing in SliverAppBar widget AppBar( title: Text('Hello'), shape: RoundedRectangleBorder( borderRadius: BorderRadius.vertical( bottom: Radius.circular(30), ), ), ), This is the…

0 Comments

Flutter How to get Json Nested Map Method

New to Flutte/Dart. What could be causing my mapping issues? 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<Photo>> fetchPhotos(http.Client client) async { final response =…

0 Comments