flutter_margin_widget 0.0.3 flutter_margin_widget: ^0.0.3 copied to clipboard
Flutter Margin widget that adds margin around your widget. Instead of repeatedly wrap your widget around a container, use this widget the same way you would use Padding.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_margin_widget/flutter_margin_widget.dart';
void main() {
runApp(MaterialApp(
home: Scaffold(
body: const Margin(
margin: EdgeInsets.all(16),
child: Text('Hello Flutter'),
),
),
));
}