Answers for "empty widget in flutter"

2

empty widget flutter

Widget build(BuildContext context) {
  return SizedBox.shrink();
}
Posted by: Guest on July-24-2021
0

empty widget in flutter

Widget build(BuildContext context) {
  return SizedBox.shrink();
}
//SizedBox.shrink() is a widget that is unlike Container or Material has no background 
  or any decorations whatsoever. It sizes itself to the smallest area possible, 
  if not influenced by parent constraints.
Posted by: Guest on March-19-2022

Code answers related to "Dart"

Browse Popular Code Answers by Language