Skip to content

Instantly share code, notes, and snippets.

@juancavallotti
Created February 2, 2023 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juancavallotti/a4c64ea83fa4a0df951ba87fa934ae27 to your computer and use it in GitHub Desktop.
Save juancavallotti/a4c64ea83fa4a0df951ba87fa934ae27 to your computer and use it in GitHub Desktop.
class ExampleC extends StatelessWidget {
const ExampleC({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: [
const Text("Hello flutter World")
.padding(all: 20)
.container(
decoration: BoxDecoration(
border: Border.all(width: 1.0),
borderRadius: BorderRadius.circular(8.0)),
)
.padding(all: 6),
const Text("Hello flutter World")
.padding(all: 20)
.container(
decoration: BoxDecoration(
border: Border.all(width: 1.0),
borderRadius: BorderRadius.circular(8.0)),
)
.padding(all: 6),
].column().boxExpand(),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment