Completely apply theme to app
This commit is contained in:
13
lib/view/widget/input_decoration.dart
Normal file
13
lib/view/widget/input_decoration.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:toolbox/data/res/color.dart';
|
||||
|
||||
InputDecoration buildDecoration(String label,
|
||||
{TextStyle? textStyle, IconData? icon}) {
|
||||
return InputDecoration(
|
||||
labelText: label,
|
||||
labelStyle: textStyle,
|
||||
icon: Icon(
|
||||
icon,
|
||||
color: primaryColor,
|
||||
));
|
||||
}
|
||||
Reference in New Issue
Block a user