refactor: Migrate to null safety

This commit is contained in:
Krille Fear 2022-01-29 12:35:03 +01:00 committed by Christian Pauly
commit 55f0300f9f
163 changed files with 1759 additions and 1903 deletions

View file

@ -1,5 +1,3 @@
//@dart=2.12
import 'dart:math';
import 'package:flutter/material.dart';
@ -77,7 +75,7 @@ class ProfileBottomSheet extends StatelessWidget {
.adaptive(strokeWidth: 2),
)
: ContentBanner(
profile.avatarUrl!,
mxContent: profile.avatarUrl,
defaultIcon: Icons.person_outline,
client: Matrix.of(context).client,
),