feat: make text wrapper constructor constant
This commit is contained in:
		
							parent
							
								
									47773872eb
								
							
						
					
					
						commit
						3c1c63235f
					
				| @ -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); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user