2023-08-16 16:44:11 +00:00

32 lines
797 B
Dart

// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
import 'check_box_list_tile.dart';
import 'check_box_list_tile_disabled.dart';
import 'date_picker.dart';
import 'dialog.dart';
import 'slider.dart';
import 'text_field.dart';
import 'text_field_disabled.dart';
import 'text_field_password.dart';
abstract class UseCase {
String get name;
String get route;
Widget build(BuildContext context);
}
final List<UseCase> useCases = <UseCase>[
CheckBoxListTile(),
CheckBoxListTileDisabled(),
DialogUseCase(),
SliderUseCase(),
TextFieldUseCase(),
TextFieldDisabledUseCase(),
TextFieldPasswordUseCase(),
DatePickerUseCase(),
];