flutter_debugframesize 1.0.0 flutter_debugframesize: ^1.0.0 copied to clipboard
flutter_debugframesize is an library to support widget extension to debug frame sizes in app runtime. It may be your pixel-perfect design UI debugging companion.
flutter_debugframesize
is an library to support widget extension to debug frame sizes in app runtime. It may be your pixel-perfect design UI debugging companion.
Features #
Show frame sizes for your specific widgets on screen.
Getting started #
Add to pubspec.yaml: flutter_debugframesize: ^1.0.0
Usage #
Refer to /example
Padding(
padding: const EdgeInsets.symmetric(horizontal: 40),
child: const SizedBox(width: double.infinity, height: 20).debugFrameSize(),
),
Image.network(
'https://docs.flutter.dev/assets/images/dash/dash-fainting.gif')
.debugFrameSize(
debugFrameSizeBodyStyle: const DebugFrameSizeBodyStyle(
color: Color(0xFF00cc00),
fontSize: 20,
thickness: 4,
dashPattern: [10, 10],
),
),