This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Configuration for using `package:build`-compatible build systems. | |
/// | |
/// See: | |
/// * [build_runner](https://pub.dev/packages/build_runner) | |
/// | |
/// This library is **not** intended to be imported by typical end-users unless | |
/// you are creating a custom compilation pipeline. See documentation for | |
/// details, and `build.yaml` for how these builders are configured by default. | |
import 'package:build/build.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:modal_bottom_sheet/modal_bottom_sheet.dart'; | |
const double _behind_widget_visible_height = 10; | |
const Radius _default_top_radius = Radius.circular(12); | |
/// Cupertino Bottom Sheet Container | |
/// | |
/// Clip the child widget to rectangle with top rounded corners and adds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:modal_bottom_sheet/modal_bottom_sheet.dart'; | |
/// A page that creates a material style [PageRoute]. | |
/// | |
/// {@macro flutter.material.materialRouteTransitionMixin} | |
/// | |
/// By default, when the created route is replaced by another, the previous | |
/// route remains in memory. To free all the resources when this is not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ncontracts Code Challenge | |
// Please take a look at the code below and refactor it to your liking. | |
// Please spend no more than 40 minutes on this exercise. | |
// If you finish early, try adding another calculation for "Office Supply" category. | |
// Once done, please send me a link to your gists. | |
using System; | |
using System.Collections.Generic; | |
namespace CodingChallenge.Shopping |