feat : icon Blend Tester widget
This commit is contained in:
@@ -43,38 +43,15 @@ class PoultryScienceHomePage extends GetView<PoultryScienceHomeLogic> {
|
||||
widelyWidget(),
|
||||
SizedBox(height: 20),
|
||||
|
||||
SizedBox(
|
||||
height: 150,
|
||||
child: ListView.separated(
|
||||
scrollDirection: Axis.horizontal,
|
||||
itemCount: BlendMode.values.length,
|
||||
itemBuilder: (context, index) {
|
||||
return Column(
|
||||
spacing: 8,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text(BlendMode.values[index].toString()),
|
||||
Container(
|
||||
margin: EdgeInsets.all(8),
|
||||
width: 100,
|
||||
height: 100,
|
||||
child: Assets.vec.cubeCardSvg.svg(
|
||||
width: 50,
|
||||
height: 50,
|
||||
colorFilter: ColorFilter.mode(Colors.red, BlendMode.values[index]),
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}, separatorBuilder: (BuildContext context, int index) => SizedBox(width: 10)
|
||||
),
|
||||
),
|
||||
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Padding mainItemWidget() {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
|
||||
Reference in New Issue
Block a user