* Implemented hasSettingsLoaded reducer * Added Padding to Progress List View * Created Settings and Time Progress List Store Connector * Rewritten Home Active Tab * Fixed missing onTap in Progress List Tile * Started using new Store Connectors in Inactive and Settings Tab * Created Time Progress Store Connector * Rewritten ProgressDetailScreen with new Store Connectors * Rewritten DatePickerBtn with TextButton * Deleted unused widget * Changed Foreground Color behaviour in ColorPicker BTN * Created Select Duration Button * Rewritten Duration Setting Widget * Updated Version Number Signed-off-by: Andreas Fahrecker <AndreasFahrecker@gmail.com>
19 lines
511 B
Dart
19 lines
511 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:time_progress_tracker/screens/progress_creation_screen.dart';
|
|
|
|
class CreateProgressButton extends StatelessWidget {
|
|
final String _heroTag = "createProgressBTN";
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
void _onButtonPressed() =>
|
|
Navigator.pushNamed(context, ProgressCreationScreen.routeName);
|
|
|
|
return FloatingActionButton(
|
|
heroTag: _heroTag,
|
|
child: Icon(Icons.add),
|
|
onPressed: _onButtonPressed,
|
|
);
|
|
}
|
|
}
|