From d27c2c23764f7b9b71c3844f90bd8046803c8c01 Mon Sep 17 00:00:00 2001 From: Alex Demchenko Date: Wed, 8 Sep 2021 19:35:47 +0200 Subject: [PATCH] Fix issues --- example/lib/main.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 89a4501..fb52e22 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,6 +1,7 @@ import 'package:flutter/material.dart'; -import 'package:flutter_link_previewer/flutter_link_previewer.dart'; +import 'package:flutter/services.dart'; import 'package:flutter_chat_types/flutter_chat_types.dart' show PreviewData; +import 'package:flutter_link_previewer/flutter_link_previewer.dart'; void main() { runApp(const MyApp()); @@ -42,7 +43,7 @@ class _MyHomePageState extends State { return Scaffold( backgroundColor: Colors.white, appBar: AppBar( - brightness: Brightness.dark, + systemOverlayStyle: SystemUiOverlayStyle.dark, title: const Text('Example'), ), body: ListView.builder(