Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 312 Vote(s) - 3.55 Average
  • 1
  • 2
  • 3
  • 4
  • 5
flutter corner radius with transparent background

#11
If both containers are siblings and the bottom container has rounded corners
and the top container is dynamic then you will have to use the stack widget

Stack(
children: [
/*your_widget_1*/,
/*your_widget_2*/,
],
);
Reply

#12
As of May 1st 2019, use ***BottomSheetTheme***.

MaterialApp(
theme: ThemeData(
// Draw all modals with a white background and top rounded corners
bottomSheetTheme: BottomSheetThemeData(
backgroundColor: Colors.white,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(top: Radius.circular(10))
)
)
),

[Introduced][1] recently, using a theme to control the sheets style should be the best route.

If you want to theme different bottom sheets differently, include a new Theme object in the appropriate subtree to override the bottom sheet theme just for that area.

If for some reason you'd still like to override the theme manually when launching a bottom sheet, **showBottomSheet** and **showModalBottomSheet** now have a **backgroundColor** parameter. Use it like this:

showModalBottomSheet(
backgroundColor: Colors.transparent,
context: context,
builder: © {return NavSheet();},
);


[1]:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through