You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

8 lines
330 B

import 'package:flutter/material.dart';
extension Gap on double {
Widget get gapWidth => SizedBox(width: this);
Widget get gapHeight => SizedBox(height: this);
Widget get gapSliverWidth => SliverToBoxAdapter(child: SizedBox(width: this));
Widget get gapSliverHeight => SliverToBoxAdapter(child: SizedBox(height: this));
}