基础组件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

home_banner_creater.dart 512 B

4 years ago
4 years ago
12345678910111213141516
  1. import 'package:flutter/material.dart';
  2. import 'package:zhiying_base_widget/widgets/home_banner/home_banner.dart';
  3. import 'package:zhiying_base_widget/widgets/home_banner/home_banner_sk.dart';
  4. import 'package:zhiying_comm/zhiying_comm.dart';
  5. class HomeBannerCreater extends WidgetCreater {
  6. @override
  7. List<Widget> createSkeleton(Map<String, dynamic> model) {
  8. return [HomeBannerSkeleton()];
  9. }
  10. @override
  11. List<Widget> createWidgets(Map<String, dynamic> model) {
  12. return [HomeBanner(model)];
  13. }
  14. }