SHARE
TWEET

Untitled

a guest Mar 19th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import 'package:equatable/equatable.dart';
  2. import 'package:meta/meta.dart';
  3. import 'package:flutter_todos/models/models.dart';
  4.  
  5. @immutable
  6. abstract class TabEvent extends Equatable {
  7.   TabEvent([List props = const []]) : super(props);
  8. }
  9.  
  10. class UpdateTab extends TabEvent {
  11.   final AppTab tab;
  12.  
  13.   UpdateTab(this.tab) : super([tab]);
  14.  
  15.   @override
  16.   String toString() => 'UpdateTab { tab: $tab }';
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top