diff --git a/AUTHORS b/AUTHORS index 1c710b2aa..a6cbce852 100644 --- a/AUTHORS +++ b/AUTHORS @@ -36,4 +36,5 @@ TAKAHASHI Shuuji Cameron Steffen Danny Tuppeny Ivan Tugay -Rohan Vanheusden \ No newline at end of file +Rohan Vanheusden +Minh Dao \ No newline at end of file diff --git a/lib/src/rules/use_decorated_box.dart b/lib/src/rules/use_decorated_box.dart index 6c544bcf1..f4c12914b 100644 --- a/lib/src/rules/use_decorated_box.dart +++ b/lib/src/rules/use_decorated_box.dart @@ -12,7 +12,7 @@ const _desc = r'Use `DecoratedBox`.'; const _details = r''' -**DO** use `DecoratedBox` when `Container` has only `Decoration`. +**DO** use `DecoratedBox` when `Container` has only a `Decoration`. A `Container` is a heavier Widget than a `DecoratedBox`, and as bonus, `DecoratedBox` has a `const` constructor.