feat: make text wrapper constructor constant

This commit is contained in:
2023-02-09 16:50:48 +00:00
committed by Gitea
parent 0132771e17
commit dd75ecfc7a
@@ -17,7 +17,7 @@
import 'package:flutter/material.dart';
class TextWrapper {
TextWrapper(this.text, {this.style});
const TextWrapper(this.text, {this.style});
factory TextWrapper.text(String text) => TextWrapper(text);