Skip to content

Commit

Permalink
Merge pull request OpenFlutter#1 from sidrao2006/num-double-patch
Browse files Browse the repository at this point in the history
Add extension on double
  • Loading branch information
sidrao2006 authored Sep 30, 2020
2 parents 5240c03 + c7b1efe commit 79c4e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/size_extension.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter_screenutil/screenutil.dart';

extension SizeExtension on num {
extension SizeExtension on double {
///[ScreenUtil.setWidth]
num get w => ScreenUtil().setWidth(this);

Expand Down

0 comments on commit 79c4e21

Please sign in to comment.