koukibadr / Elegant-Notification

https://pub.dev/packages/elegant_notification
MIT License
46 stars 30 forks source link

Elegant have unnecessary border when config DialogTheme #119

Closed Trung15010802 closed 5 months ago

Trung15010802 commented 5 months ago

When i config border for dialog like this Elegant have border too. Can I set it too transparent?

image

theme: ThemeData(
colorScheme: ColorScheme.fromSeed(
seedColor: seedColor,
brightness: Brightness.dark,
background: mainBackground,
),
dialogBackgroundColor: mainBackground,
dialogTheme: DialogTheme(
surfaceTintColor: mainBackground,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(28),
side: const BorderSide(
color: Colors.white,
),
),
koukibadr commented 5 months ago

@Trung15010802 I just published a new version I added border you can customize the border